id summary reporter owner description type status milestone component version severity resolution keywords cc 3687 Boost.Serialization fails to compile on Solaris 10 x86 with gcc because of template that uses same name as SS macro anonymous Robert Ramey "/usr/include/sys/regset.h on Solaris 10 contains: #define SS 18 /* only stored on a privilege transition */ boost/serialization/static_warning.h contains: template struct SS {}; The unavoidable combination produces the compilation error: boost/serialization/static_warning.hpp:96: error: expected unqualified-id before numeric constant The combination is unavoidable because regset.h is pulled in by headers included by other boost headers. Solution: rename SS template to something else (e.g., boost_SS). Although the BSW macro doesn't conflict with anything I'm aware of, it would be prudent to rename that macro (perhaps to BOOST_SERIALIZATION_STATIC_WARNING), to avoid future conflicts on other platforms. " Bugs closed Boost 1.42.0 serialization Boost 1.41.0 Showstopper fixed