Opened 11 years ago

Closed 11 years ago

#6407 closed Bugs (fixed)

Use attribute names with underscores for GCC

Reported by: Petr Machata <pmachata@…> Owned by: Robert Ramey
Milestone: To Be Determined Component: serialization
Version: Boost 1.48.0 Severity: Cosmetic
Keywords: Cc:

Description

... which should prevent accidental interactions between user-defined macros and boost internals.

Attachments (1)

boost-serialization.patch (904 bytes ) - added by Petr Machata <pmachata@…> 11 years ago.

Download all attachments as: .zip

Change History (4)

by Petr Machata <pmachata@…>, 11 years ago

Attachment: boost-serialization.patch added

comment:1 by anonymous, 11 years ago

Hmmm - to which versions of GCC does this apply? It's not that I made these names up, I got them from the GCC docs (a long time ago). How can I know that making this change won't provoke a wave of failures in some compilers?

Robert Ramey

comment:2 by Petr Machata <pmachata@…>, 11 years ago

It's been supported like that "forever". Boost type traits even uses this in a couple places with aligned attribute, and boost move similarly with may_alias.

comment:3 by Robert Ramey, 11 years ago

Resolution: fixed
Severity: ProblemCosmetic
Status: newclosed

fixed on my local machine. will eventually wind it's way to release.

Note: See TracTickets for help on using tickets.