id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11546,Incorrect use of __declspec,lcarreon@…,John Maddock,"I compiled Boost 1.59.0 with Solaris Studio 12.4 in C++11 mode and I get the following error messages: ""./boost/math/special_functions/detail/lanczos_sse2.hpp"", line 26: Error: invalid __declspec syntax at ""("". Obviously, the Solaris compiler shouldn't be encountering __declspec. Someone suggested modifying the line #15 in boost/math/special_functions/detail/lanczos_sse2.hpp containing: #if defined(__GNUC__) || defined(__PGI) to #if defined(__GNUC__) || defined(__PGI) || defined(__SUNPRO_CC) I'm not sure if this is the correct fix, but it does make sense. ",Bugs,closed,Boost 1.60.0,math,Boost 1.59.0,Problem,fixed,,