This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/19720] New: missing braces around initializer


while compiling gcc-3.4.3 with itself(compiled by gcc-2.95), 
got these error:
-------------------------------------------------------------------

In file included from ../../gcc-3.4.3/gcc/unwind-dw2-fde-glibc.c:59:
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: warning: missing braces around initializer
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: warning: (near initialization for
`object_mutex.__data')
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: error: `__LOCK_INITIALIZER'
undeclaredhere (not in a function)
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: error: initializer element is not constant
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: error: (near initialization for
`object_mutex.__data.__nusers')
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: warning: missing initializer
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: warning: (near initialization for
`object_mutex.__data.__nusers')
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: error: initializer element is not constant
../../gcc-3.4.3/gcc/unwind-dw2-fde.c:52: error: (near initialization for
`object_mutex.__data')
make[3]: *** [libgcc/./unwind-dw2-fde-glibc.o] Error 1
make[3]: Leaving directory `/src/gcc-build2/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/src/gcc-build2/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/src/gcc-build2/gcc'
make: *** [bootstrap] Error 2

-----------------------------------------------------------------------
on a debian woody-3.0-r2 system, with: 

 kernel-2.6.10
 glibc-2.3.3 (--prefix=/usr)
 gcc-3.4.3 (--prefix=/usr/local)

-- 
           Summary: missing braces around initializer
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ca50015 at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]