[Bug c++/36833] unexpected warning: guard 13936 owner may be used uninitialized in this function

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 23 02:31:00 GMT 2008



------- Comment #4 from manu at gcc dot gnu dot org  2008-08-23 02:30 -------
I cannot compile this with GCC 4.3.1 or GCC 4.4. I get several errors similar
to:

In file included from /opt/ACE_wrappers/ace/Global_Macros.h:927,
                 from /opt/ACE_wrappers/ace/OS_NS_Thread.h:29,
                 from /opt/ACE_wrappers/ace/Thread_Mutex.h:32,
                 from CircularBufferTest.cpp:2:
/opt/gcc431/lib/gcc/i686-pc-linux-gnu/4.3.1/../../../../include/c++/4.3.1/new:95:
error: 'operator new' takes type 'size_t' ('long unsigned int') as first
parameter

What is the output of g++ -v ?


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list