When Created: 07/26/1998 14:32:28
Against DJGPP version: 2.01
By whom: email@example.com
Abstract: Parse error declaring a class
Whenever i try to declare a class in 2.01 my compiler gives me a parse error. I
know that it's because of my class decleration because the parse error always comes after
the "class" keyword.
Note added: 07/27/1998 15:51:11
By whom: firstname.lastname@example.org
With an extremely high probability, you simply forgot that C++ and
C are different languages, and that gcc needs to be informed which of
the two a given source file is in. This is done by giving it the correct
*file name extension*. Calling the C++ source 'foo.cc' instead of 'foo.c'
should easily fix the problem.
Closed on 04/13/1999 06:00:26: Usage error, not a bug.
By whom: email@example.com