This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] libstdc++/21244


Paolo Carlini wrote:
Hi,

due to the delicate c++ issue clarified in c++/19404 by Mark we have got
this new library PR (in 4.0 and mainline) because our vector<bool> uses
indeed a namespace scope *anonymous* enum. In order to fix it I propose
the minimal change of giving a name to the enum. Is this 100% safe from
the ABI/interoperability point of view?? I think so, but want to double
check with you before going ahead.

Yes, this change should be safe. Since anonymous types can't be used with entities that have linkage, this enumeration type can't have appeared in any mangled names.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]