This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
warning on missing ; (egcs 1.0.2)
- To: egcs-bugs at cygnus dot com
- Subject: warning on missing ; (egcs 1.0.2)
- From: Ragnar Hojland Espinosa <root at lightside dot ddns dot org>
- Date: Tue, 24 Mar 1998 19:14:46 +0100 (MET)
- Reply-To: Ragnar Hojland Espinosa <tech dot support at redestb dot es>
I cant seem to reproduce it again, but I forgot to add a ; after the class
declaration, and it kept giving me a
a.C:2: return type specification for constructor
instead of the "semicolon missing after declaration" warning
*** a.h
#ifndef a_h
#define a_h
// correct declarations here
// ...
class A
{
public:
A();
}
#endif
*** a.c
#include "a.h"
____/| Ragnar Hojland (tech.support@redestb.es) Fingerprint 94C4B
\ o.O| 2F0D27DE025BE2302C
=(_)= "Thou shalt not follow the NULL pointer for 104B78C56 B72F0822
U chaos and madness await thee at its end." hkp://keys.pgp.com