Austin Group Defect Tracker

Aardvark Mark III


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000129 [1003.1(2008)/Issue 7] Shell and Utilities Comment Error 2009-08-05 15:12 2009-08-20 16:06
Reporter geoffclare View Status public  
Assigned To ajosey
Priority normal Resolution Accepted  
Status Resolved  
Name Geoff Clare
Organization The Open Group
User Reference
Section c99
Page Number 2488
Line Number 79554
Interp Status ---
Final Accepted Text
Summary 0000129: exception to syntax guidelines for -I
Description The 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 Action Change "−I, −L, and −l" to "-L and -l".
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000171)
Don Cragun (manager)
2009-08-05 20:00

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 19:35 Vincent Lefevre Issue Monitored: Vincent Lefevre
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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker