id summary reporter owner description type status milestone component version severity resolution keywords cc 75 Solaris - once.cpp compile error cpqlvc Marshall Clow "{{{ I tried to compile the Boost.Threads library on Solaris, but once.cpp generated a compile error. The Solaris system is (export/home/swansond)$ uname -a SunOS lvcsun1 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-4 The compiler is (export/home/swansond)$ g++ -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun- solaris2.8/2.95.3/specs gcc version 2.95.3 20010315 (release) The compile error is (27_0/libs/thread/src)$ g++ -g -Wall - o ../build/lib/once.o -c -I../../.. once.cpp once.cpp:42: warning: aggregate has a partly bracketed initializer once.cpp:138: parse error at end of input To eliminate the warning I enclosed PTHREAD_ONCE_INIT in curly braces. To correct the error (maybe ?) I added a closing brace after the definition of do_once(). }}}" Bugs closed None None Showstopper wontfix