[Bug c++/30019] g++ did not issue a warning when it (IMO) could have

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 30 03:23:00 GMT 2006



------- Comment #1 from bangerth at dealii dot org  2006-11-30 03:22 -------
The point is that the temporary isn't unused: you call operator=(char*) on it.
The compiler can't know if that has any side effects that you may intend to
have happen...


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list