------- Comment #5 from manu at gcc dot gnu dot org  2010-06-11 11:11 -------
Comeau C/C++ 4.3.10.1 (Oct  6 2008 11:28:09) for ONLINE_EVALUATION_BETA2
Copyright 1988-2008 Comeau Computing.  All rights reserved.
MODE:strict errors C++ C++0x_extensions

"ComeauTest.c", line 9: error: const variable "g_d" requires an initializer --
class
          "D" has no explicitly declared default constructor
      const D g_d;
                 ^

"ComeauTest.c", line 9: warning: variable "g_d" was declared but never
referenced
      const D g_d;
              ^

1 error detected in the compilation of "ComeauTest.c".


I think the error message of comeau is better (but our note is better). I will
write a patch.


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to