A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1925 
====================================================================== 
Reported By:                Love4Boobies
Assigned To:                
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1925
Category:                   Shell and Utilities
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Bogdan Barbu 
Organization:                
User Reference:              
Section:                    c17 
Page Number:               
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/c17.html 
Line Number:                STDOUT section 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2025-05-10 02:36 UTC
Last Modified:              2025-05-15 15:52 UTC
====================================================================== 
Summary:                    c17 -E output is incompatible with existing
implementations
====================================================================== 

---------------------------------------------------------------------- 
 (0007184) nick (manager) - 2025-05-15 15:52
 https://www.austingroupbugs.net/view.php?id=1925#c7184 
---------------------------------------------------------------------- 
Interpretation response
------------------------
The standard states the output format for c17 -E, and conforming implementations
must conform to this. However, concerns have been raised about this which are
being referred to the sponsor.

Rationale:
-------------
None.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------

Change Page 2673 lines 88033-88036 from:
<blockquote>
...
it may contain extra information appropriate for subsequent compilation passes
and shall contain at least one line with the format:
<pre>
"# %d \"%s\"\n", <line>, <pathname>
</pre>
for each file processed as a result of a <b>#include</b> directive, unless no
other output generated from that file is present in the output, where
<i>line</i> is a line number and <i>pathname</i> is the pathname used to open
the file.
</blockquote>

to:

<blockquote>
...
it may contain extra information appropriate for subsequent compilation passes
and shall contain at least one line with the format:
<pre>
"# %d \"%s\"\n", <line>, <pathname>
</pre>
or
<pre>
"# %d \"%s\" %s\n", <line>, <pathname>, <flags>
</pre>
for each file processed as a result of a <b>#include</b> directive, unless no
other output generated from that file is present in the output, where
<i>line</i> is a line number, <i>pathname</i> is the pathname used to open the
file, and <i>flags</i> is an implementation-defined string.
</blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2025-05-10 02:36 Love4Boobies   New Issue                                    
2025-05-15 15:52 nick           Note Added: 0007184                          
======================================================================


  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to