A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1479 
====================================================================== 
Reported By:                geoffclare
Assigned To:                
====================================================================== 
Project:                    1003.1(2016/18)/Issue7+TC2
Issue ID:                   1479
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Geoff Clare 
Organization:               The Open Group 
User Reference:              
Section:                    make 
Page Number:                2980 
Line Number:                98946 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2021-05-28 09:14 UTC
Last Modified:              2021-05-28 13:33 UTC
====================================================================== 
Summary:                    Not clear what "achieve results" means for make
defaults
====================================================================== 

---------------------------------------------------------------------- 
 (0005368) geoffclare (manager) - 2021-05-28 13:33
 https://austingroupbugs.net/view.php?id=1479#c5368 
---------------------------------------------------------------------- 
I think the standard has -O 1 with a space because conforming applications
are required to pass the -O and the 1 as separate arguments to c99 (see XBD
12.1 item 2a). The c99 utility is required to accept them either separately
or together.

An implementation can of course set the default CFLAGS to -O1 without the
space under the "shall achieve results that are the same" wording that is
the subject of this bug.

Setting the default CC to cc instead of c99 is fine on a particular
implementation provided a conforming application compiled with cc behaves
the same as if it was compiled with c99. (Remember that a conforming
application must define _POSIX_C_SOURCE=200809 or _XOPEN_SOURCE=700.) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2021-05-28 09:14 geoffclare     New Issue                                    
2021-05-28 09:14 geoffclare     Name                      => Geoff Clare     
2021-05-28 09:14 geoffclare     Organization              => The Open Group  
2021-05-28 09:14 geoffclare     Section                   => make            
2021-05-28 09:14 geoffclare     Page Number               => 2980            
2021-05-28 09:14 geoffclare     Line Number               => 98946           
2021-05-28 09:14 geoffclare     Interp Status             => ---             
2021-05-28 12:56 psmith         Note Added: 0005366                          
2021-05-28 13:23 joerg          Note Added: 0005367                          
2021-05-28 13:24 joerg          Note Edited: 0005367                         
2021-05-28 13:32 joerg          Note Edited: 0005367                         
2021-05-28 13:33 geoffclare     Note Added: 0005368                          
======================================================================


  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to