id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11459,cannot compile date_time_format_parser.cpp,Aparna Kumta ,Andrey Semashev,"Compiling date_time_format_parser.cpp on SunOS with Oracle Solaris Studio12.4, we see /ws/pythia/builds/pse/m7/biweekly/latest/inst/sparc-S2/bin/CC -compat=5 -library=stlport4 -xO4 -mt -erroff=%none -m64 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_HAS_ICU=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_DLL -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_DLL=1 -DDATE_TIME_INLINE -DNDEBUG -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D__typeof__=__typeof__ -I.. -c -o ./date_time_format_parser.o ./date_time_format_parser.cpp ""./date_time_format_parser.cpp"", line 399: Error: Linker scopes may not change after symbol definition. ""./date_time_format_parser.cpp"", line 412: Error: Linker scopes may not change after symbol definition. The following change seems to resolve this issue. diff date_time_format_parser.cpp date_time_format_parser.cpp_new 346c346 < template< typename CharT > --- > template< typename CharT > BOOST_LOG_API 356c356 < template< typename CharT > --- > template< typename CharT > BOOST_LOG_API 366c366 < template< typename CharT > --- > template< typename CharT > BOOST_LOG_API 375c375 < template< typename CharT > --- > template< typename CharT > BOOST_LOG_API This prevents building libboost_log.so.1.59.0 ",Bugs,closed,To Be Determined,log,Boost Development Trunk,Problem,fixed,,