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

             Bug #: 50809
           Summary: driver-arm.c:55:11: error: anonymous type with no
                    linkage used to declare variable '<anonymous struct>
                    vendors []' with linkage [-Werror]
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dang...@gcc.gnu.org
              Host: armv5tejl-unknown-linux-gnueabi
            Target: armv5tejl-unknown-linux-gnueabi
             Build: armv5tejl-unknown-linux-gnueabi


/home/dave/gnu/gcc/objdir/./prev-gcc/g++
-B/home/dave/gnu/gcc/objdir/./prev-gcc/
 -B/home/dave/opt/gnu/gcc/gcc-4.7/armv5tejl-unknown-linux-gnueabi/bin/
-nostdinc
++
-B/home/dave/gnu/gcc/objdir/prev-armv5tejl-unknown-linux-gnueabi/libstdc++-v3
/src/.libs
-B/home/dave/gnu/gcc/objdir/prev-armv5tejl-unknown-linux-gnueabi/libs
tdc++-v3/libsupc++/.libs
-I/home/dave/gnu/gcc/objdir/prev-armv5tejl-unknown-linu
x-gnueabi/libstdc++-v3/include/armv5tejl-unknown-linux-gnueabi
-I/home/dave/gnu/
gcc/objdir/prev-armv5tejl-unknown-linux-gnueabi/libstdc++-v3/include
-I/home/dav
e/gnu/gcc/gcc/libstdc++-v3/libsupc++
-L/home/dave/gnu/gcc/objdir/prev-armv5tejl-
unknown-linux-gnueabi/libstdc++-v3/src/.libs
-L/home/dave/gnu/gcc/objdir/prev-ar
mv5tejl-unknown-linux-gnueabi/libstdc++-v3/libsupc++/.libs -c   -g -O2 -gtoggle
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror  
-DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/home/dave/opt/gnu/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  
-I/home/dave/opt/gnu/include -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/home/dave/opt/gnu/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  
../../gcc/gcc/config/arm/driver-arm.c
../../gcc/gcc/config/arm/driver-arm.c:55:11: error: anonymous type with no
linkage used to declare variable '<anonymous struct> vendors []' with linkage
[-Werror]
cc1plus: all warnings being treated as errors

-bash-3.2$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: armv5tejl-unknown-linux-gnueabi
Configured with: ../gcc/configure --enable-languages=c,c++,fortran,objc,obj-c++
--enable-checking=release --enable-shared --enable-threads --disable-multilib
--disable-libmudflap --disable-libssp --enable-symvers=gnu
--enable-__cxa_atexit --disable-libstdcxx-pch
--prefix=/home/dave/opt/gnu/gcc/gcc-4.7 --with-gmp=/home/dave/opt/gnu
--with-as=/home/dave/opt/gnu/bin/as --with-ld=/home/dave/opt/gnu/bin/ld
Thread model: posix
gcc version 4.7.0 20111019 (experimental) [trunk revision 180200] (GCC)

Reply via email to