View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000129 | 1003.1(2008)/Issue 7 | Shell and Utilities | public | 2009-08-05 15:12 | 2013-04-16 13:06 |
| Reporter | geoffclare | Assigned To | ajosey | ||
| Priority | normal | Severity | Comment | Type | Error |
| Status | Closed | Resolution | Accepted | ||
| 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 | tc1-2008 | ||||
|
|
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.
|
| 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 |