View Issue Details

IDProjectCategoryView StatusLast Update
00001291003.1(2008)/Issue 7Shell and Utilitiespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityCommentTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionc99
Page Number2488
Line Number79554
Interp Status---
Final Accepted Text
Summary0000129: exception to syntax guidelines for -I
DescriptionThe c99 OPTIONS subsection includes the following exception to the syntax
guidelines:

   The order of specifying the −I, −L, and −l options, and the order
   of specifying −l options with respect to pathname operands is significant.

There is no need for -I to be included in this exception, since it does
not interact with -L or -l, and multiple -I options are handled in
accordance with Syntax Guideline 11.
Desired ActionChange "−I, −L, and −l" to "-L and -l".
Tagstc1-2008

Activities

Don Cragun

2009-08-05 20:00

manager   bugnote:0000171

The way the current standard is written, if I have the command line:
    c99 foo.c -I $HOME/include bar.c
and foo.c contains:
    #include "foo.h"
the foo.h header should not be found if it is in $HOME/include when
compiling foo.c even though it would be found in bar.c.  It should be
found in both foo.c and bar.c with the command line:
    c99 -I $HOME/include foo.c bar.c
Isn't this what is supposed to happen?

If the suggested change is made, you won't be able to have some headers
available for a subset of the source files being compiled.  This
probably doesn't happen frequently, but making this change might have
unwanted side effects.

Issue History

Date Modified Username Field Change
2009-08-05 15:12 geoffclare New Issue
2009-08-05 15:12 geoffclare Status New => Under Review
2009-08-05 15:12 geoffclare Assigned To => ajosey
2009-08-05 15:12 geoffclare Name => Geoff Clare
2009-08-05 15:12 geoffclare Organization => The Open Group
2009-08-05 15:12 geoffclare Section => c99
2009-08-05 15:12 geoffclare Page Number => 2488
2009-08-05 15:12 geoffclare Line Number => 79554
2009-08-05 20:00 Don Cragun Note Added: 0000171
2009-08-20 16:06 ajosey Interp Status => ---
2009-08-20 16:06 ajosey Status Under Review => Resolved
2009-08-20 16:06 ajosey Resolution Open => Accepted
2010-08-27 13:14 ajosey Tag Attached: tc1-2008
2013-04-16 13:06 ajosey Status Resolved => Closed