[Bug other/20791] New: visibilty options don't work

oliverst at online dot de gcc-bugzilla@gcc.gnu.org
Wed Apr 6 13:37:00 GMT 2005


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)

-- 
           Summary: visibilty options don't work
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: oliverst at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20791



More information about the Gcc-bugs mailing list