id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3427,Serialization linker errors,Hartmut Kaiser,Robert Ramey,"The MS header file excpt.h has a {{{ #define exception_code _exception_code }}} which leads to problems if not consistently included. The bottom line is, that archive_exception.cpp needs to be compiled with exactly the same windows headers included (excpt.h gets included by windows.h) as any sources including archive_exception.hpp, which is generally not possible to ensure. The only fail-proof way I could see is to always have {{{ #if defined(BOOST_WINDOWS) #include #endif }}} inside archive_exception.hpp, globally mapping exception_code to _exception_code. Patch attached. ",Bugs,closed,Boost 1.41.0,serialization,Boost Development Trunk,Regression,fixed,,