warning on missing ; (egcs 1.0.2)
Ragnar Hojland Espinosa
root@lightside.ddns.org
Tue Mar 24 13:05:00 GMT 1998
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
More information about the Gcc-bugs
mailing list