[Bug libstdc++/45347] concurrence.h: In constructor '__gnu_cxx::__cond::__cond()': /home/jayk/obj/gcc451/alphaev67-dec-osf5.1/libstdc++-v3/include/ext/concurrence.h:276:29: warning: missing initializer for member '__pthread_cond_t::__bloc

jay dot krell at cornell dot edu gcc-bugzilla@gcc.gnu.org
Mon Aug 23 11:27:00 GMT 2010



------- Comment #2 from jay dot krell at cornell dot edu  2010-08-23 11:26 -------
This is building libstdc++ 4.5.1.
  You can sort of tell from the path.
  I build in "obj". I don't install to "obj".
The bootstrap compiler might have been 4.5.0.
I can do it again with 4.5.1 as bootstrap.


I actually think this gcc warning generally shouldn't even exist, unless maybe
presented with a union whose first member is not its largest.
  Though perhaps gcc should do what Microsoft C does there -- always zero the
entire thing.


T foo = { 0 };


is just too nice of a generic portable zeroer of all types, except sometimes
unions.


-- 


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



More information about the Gcc-bugs mailing list