Opened 9 years ago
Closed 9 years ago
#8849 closed Bugs (fixed)
Use attribute names with underscores for GCC
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | config |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I opened a bunch of bugs like that some time ago for various Boost components, but apparently forgot about this one. The problem is in using GCC __attribute__ syntax, where the attribute itself is not in reserved namespace. GCC supports (at least since 3.3 per my testing) attributes in two forms: plain X, and reserved __X__. They don't differ in semantics, but the latter is unlikely to be overridden by user-defined macros (or if it is, it's user's fault).
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | boost-1.54.0-config-attributes.patch added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
A fix