This is the mail archive of the gcc@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]

Re: partly bracketed initializer ?


At 03:31 AM 2/20/99 -0500, you wrote:
>
>Howdy--
>
>egcs-1.1.1 on Solaris 2.5.1.
>
>If I -D_PTHREADS on my compile lines, and use -Wall, I get
>warnings such as :

...

>/usr/local/gnu/include/g++/stl_alloc.h:565: warning: aggregate has a
partly bracketed initializer
>/usr/local/gnu/include/g++/stl_alloc.h:565: warning: aggregate has a
partly bracketed initializer

It looks like a bug in egcs or in the documentation actually. That warning
shouldn't be switched on by -Wall, but only by -W, according to gcc.info.

-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://surf.to/pgd.net
_____________________ ____|________     Paul Derbyshire     pderbysh@usa.net
Programmer & Humanist|ICQ: 10423848|


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