This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with exception classes


Hi!

I'm having weird problems with compiling a program that worked on my old
hard disk with SuSE 7.3.
I moved to RedHat 8.0 lately with gcc version 3.2 20020903 (Red Hat
Linux 8.0 3.2-7).

Here's the source:
***** Begin Source *****
//Global inclusions
#include <exception>
#include <stdarg.h>

//Local inclusions
#include "cstring.h"

////////////////////////////////////////////////////////////////////////////////

typedef const char *TErrMsgList [];
typedef const char **PErrMsgList;

////////////////////////////////////////////////////////////////////////////////

class CException: public exception
***** End Source *****
The last line throws:
cexception.h:31: parse error before `{' token

Any ideas?

Thx in advance,
Reinhard.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]