Discussion:
[1003.1(2013)/Issue7+TC1 0000866]: No precedence between include lines and macro definitions
Austin Group Bug Tracker
2014-09-18 16:35:21 UTC
Permalink
A NOTE has been added to this issue.
======================================================================
http://austingroupbugs.net/view.php?id=866
======================================================================
Reported By: antoinel
Assigned To:
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 866
Category: Shell and Utilities
Type: Enhancement Request
Severity: Editorial
Priority: normal
Status: New
Name: Antoine Leca
Organization:
User Reference:
Section: make
Page Number: 2928
Line Number: 96368
Interp Status: ---
Final Accepted Text:
======================================================================
Date Submitted: 2014-08-12 09:43 UTC
Last Modified: 2014-09-18 16:35 UTC
======================================================================
Summary: No precedence between include lines and macro
definitions
======================================================================

----------------------------------------------------------------------
(0002392) nick (manager) - 2014-09-18 16:35
http://austingroupbugs.net/view.php?id=866#c2392
----------------------------------------------------------------------
Add the following to APPLICATION USAGE: after line 97603

This version of POSIX.1:2008 does not specify precedence between macro
definition and include directives. Thus the behavior of
<pre>
include =foo.mk
</pre>
is unspecified. To define a variable named include, either the whitespace
before the <equal-sign> should be removed, or another macro should be
used, as in
<pre>
INCLUDE_NAME = include
$(INCLUDE_NAME) =foo.mk
</pre>

On the other hand, if the intent is to include a file which starts with an
<equal-sign>, either the filename should be changed to <tt>./=foo.mk</tt>,
or the makefile should be written as
<pre>
INCLUDE_FILE = =foo.mk
include $(INCLUDE_FILE)
</pre>

Issue History
Date Modified Username Field Change
======================================================================
2014-08-12 09:43 antoinel New Issue
2014-08-12 09:43 antoinel Name => Antoine Leca
2014-08-12 09:43 antoinel Section => make
2014-08-12 09:43 antoinel Page Number => 2928
2014-08-12 09:43 antoinel Line Number => 96368
2014-09-18 16:35 nick Note Added: 0002392
======================================================================
Austin Group Bug Tracker
2014-09-18 16:36:42 UTC
Permalink
The following issue has been RESOLVED.
======================================================================
http://austingroupbugs.net/view.php?id=866
======================================================================
Reported By: antoinel
Assigned To:
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 866
Category: Shell and Utilities
Type: Enhancement Request
Severity: Editorial
Priority: normal
Status: Resolved
Name: Antoine Leca
Organization:
User Reference:
Section: make
Page Number: 2928
Line Number: 96368
Interp Status: ---
Final Accepted Text: See http://austingroupbugs.net/view.php?id=866#c2392

Resolution: Accepted As Marked
Fixed in Version:
======================================================================
Date Submitted: 2014-08-12 09:43 UTC
Last Modified: 2014-09-18 16:36 UTC
======================================================================
Summary: No precedence between include lines and macro
definitions
======================================================================

Issue History
Date Modified Username Field Change
======================================================================
2014-08-12 09:43 antoinel New Issue
2014-08-12 09:43 antoinel Name => Antoine Leca
2014-08-12 09:43 antoinel Section => make
2014-08-12 09:43 antoinel Page Number => 2928
2014-08-12 09:43 antoinel Line Number => 96368
2014-09-18 16:35 nick Note Added: 0002392
2014-09-18 16:36 nick Interp Status => ---
2014-09-18 16:36 nick Final Accepted Text => See
http://austingroupbugs.net/view.php?id=866#c2392
2014-09-18 16:36 nick Status New => Resolved
2014-09-18 16:36 nick Resolution Open => Accepted As
Marked
2014-09-18 16:36 nick Desired Action Updated
======================================================================
Austin Group Bug Tracker
2014-09-18 17:16:40 UTC
Permalink
A NOTE has been added to this issue.
======================================================================
http://austingroupbugs.net/view.php?id=866
======================================================================
Reported By: antoinel
Assigned To:
======================================================================
Project: 1003.1(2013)/Issue7+TC1
Issue ID: 866
Category: Shell and Utilities
Type: Enhancement Request
Severity: Editorial
Priority: normal
Status: Resolved
Name: Antoine Leca
Organization:
User Reference:
Section: make
Page Number: 2928
Line Number: 96368
Interp Status: ---
Final Accepted Text: See http://austingroupbugs.net/view.php?id=866#c2392

Resolution: Accepted As Marked
Fixed in Version:
======================================================================
Date Submitted: 2014-08-12 09:43 UTC
Last Modified: 2014-09-18 17:16 UTC
======================================================================
Summary: No precedence between include lines and macro
definitions
======================================================================

----------------------------------------------------------------------
(0002394) shware_systems (reporter) - 2014-09-18 17:16
http://austingroupbugs.net/view.php?id=866#c2394
----------------------------------------------------------------------
Editorial: <tt> </tt> should be replaced with " directly, or just removed
from Note 2932.

Should some mention of equals not being a portable filename character, so
use of a filename containing it may not work properly anyways with all file
systems, be added? This ambiguity, necessitating those example workarounds,
arises only with non-portable makefiles, in other words.

Issue History
Date Modified Username Field Change
======================================================================
2014-08-12 09:43 antoinel New Issue
2014-08-12 09:43 antoinel Name => Antoine Leca
2014-08-12 09:43 antoinel Section => make
2014-08-12 09:43 antoinel Page Number => 2928
2014-08-12 09:43 antoinel Line Number => 96368
2014-09-18 16:35 nick Note Added: 0002392
2014-09-18 16:36 nick Interp Status => ---
2014-09-18 16:36 nick Final Accepted Text => See
http://austingroupbugs.net/view.php?id=866#c2392
2014-09-18 16:36 nick Status New => Resolved
2014-09-18 16:36 nick Resolution Open => Accepted As
Marked
2014-09-18 16:36 nick Desired Action Updated
2014-09-18 16:37 nick Tag Attached: tc2-2008
2014-09-18 16:45 Don Cragun Note Edited: 0002392
2014-09-18 16:46 Don Cragun Note Edited: 0002392
2014-09-18 17:16 shware_systems Note Added: 0002394
======================================================================
Loading...