When compiling a source file with "-fvisibility=hidden" and/or "-fvisibility-inlines-hidden" I get the following error for each function in the file (happens with C and C++ front-end): C:/DOKUME~1/OSTOEN~2/LOKALE~1/Temp/ccCCaaaa.s: Assembler messages: C:/DOKUME~1/OSTOEN~2/LOKALE~1/Temp/ccCCaaaa.s:5: Error: unknown pseudo-op: `.hidden' I am using a MinGW32 build of GCC, so I am not quite sure, if thise feature is for MinGW32, but if it won't work for MinGW32, it should be disabled. Here is my specs: Using built-in specs. Target: i686-pc-mingw32 Configured with: /datal/gcc/gcc/configure --prefix=/datal/gcc/build/wingcc --build=i686-pc-linux-gnu --host=i686-pc-mingw32 --target=i686-pc-mingw32 --enable-languages=c,c++,java --with-gcc --with-gnu-as --with-gnu-ld --enable-threads=win32 --disable-nls --disable-win32-registry --disable-shared --disable-debug --without-newlib --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-sjlj-exceptions --enable-libgcj-multifile --enable-libgcj-mingw-osapi=ansi Thread model: win32 gcc version 4.0.0 20050324 (prerelease)
Did you build GCC your self? If not, did you get the version of binutils that the person was offering. And yes we have a check while configuring to enable/disabling visiblity.
I didn't build GCC 4.0.0 myself, I got it from this site: http://www.thisiscool.com/gcc_mingw.htm and he is offering a complete MinGW package. Looking at the list of components he put in, we can see, that it says "binutils-2.15.94-20050118-1", so I guess it's a build done by the MinGW guys.
OK, I got a more recent version of the binutils and I know get this: 91 C:\cvs\STLport\stlport\stl\_new.h [Warning] visibility attribute not supported in this configuration; ignored Guess this can be closed now. Sorry for the report.
So closing as invalid.