View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000776 | 1003.1(2013)/Issue7+TC1 | Base Definitions and Headers | public | 2013-10-23 01:05 | 2013-12-05 17:07 |
Reporter | nsz | Assigned To | |||
Priority | normal | Severity | Editorial | Type | Error |
Status | Closed | Resolution | Rejected | ||
Name | Szabolcs Nagy | ||||
Organization | musl libc | ||||
User Reference | |||||
Section | several | ||||
Page Number | - | ||||
Line Number | - | ||||
Interp Status | --- | ||||
Final Accepted Text | |||||
Summary | 0000776: incorrect use of the term "symbolic constant" in several headers | ||||
Description | in XBD 3.374 the definition of "Symbolic Constant" says It expands to a compile-time constant expression with an integer type. but several headers specify symbolic constants with non-integer type: pthread.h: PTHREAD_CANCELED has pointer type cpio.h: MAGIC expands to a string literal semaphore.h: SEM_FAILED has pointer type mman.h: MAP_FAILED has pointer type tar.h: TMAGIC and TVERSION expand to string literals | ||||
Desired Action | instead of .. header shall define the symbolic constant .. .. header shall define the following symbolic constants .. use .. header shall define the macro .. .. header shall define the following symbolic constants and macros .. | ||||
Tags | No tags attached. |
|
The quoted bullet item from XBD 3.374 is preceded by introductory text which says "Unless stated otherwise, the following shall apply to every symbolic constant". It is entirely intentional that some headers define non-integer symbolic constants. The type stated in the header overrides the integer default from XBD 3.374. |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-10-23 01:05 | nsz | New Issue | |
2013-10-23 01:05 | nsz | Name | => Szabolcs Nagy |
2013-10-23 01:05 | nsz | Organization | => musl libc |
2013-10-23 01:05 | nsz | Section | => several |
2013-10-23 01:05 | nsz | Page Number | => - |
2013-10-23 01:05 | nsz | Line Number | => - |
2013-10-23 08:35 | geoffclare | Note Added: 0001943 | |
2013-12-05 17:07 | geoffclare | Interp Status | => --- |
2013-12-05 17:07 | geoffclare | Status | New => Closed |
2013-12-05 17:07 | geoffclare | Resolution | Open => Rejected |