SDL, g++ 2.96, rh 7.1

i am getting this error while compiling a small program using g++ 2.96

In file included from /usr/local/include/SDL/SDL.h:34,
from menu01.cpp:6:
/usr/local/include/SDL/SDL_types.h:40: two or more data types in
declaration of `SDL_bool’

i am 99% sure this is a g++ error. i read similiar issues ofn this online
and i never get this error using gcc. short of getting a new g++ (i have
dialup and 17.5 megs is very large…) does anyone know of i fix for this, or
is the fix using a fixed g++?

thanks,
– ag

Adam Grossman wrote:

In file included from /usr/local/include/SDL/SDL.h:34,
from menu01.cpp:6:
/usr/local/include/SDL/SDL_types.h:40: two or more data types in
declaration of `SDL_bool’

most likely you have forgotten a semicolon in your own file somewhere.
Show us the file (menu01.cpp) that causes the error, edited to be as
small as possible (at most 15 lines)

feel like a total idiot. ?your right, i forgot a semicolon after my class
decleration. ?i stared at my code for a long time, and it’s a C++ newbie
mistake. ?i should have my programmers license taken away. ?sorry for wasting
everyones time…On Thursday 06 December 2001 13:41, Mattias Engdeg?rd wrote:

Adam Grossman <@Adam_Grossman> wrote:

In file included from /usr/local/include/SDL/SDL.h:34,
from menu01.cpp:6:
/usr/local/include/SDL/SDL_types.h:40: two or more data types in
declaration of `SDL_bool’

most likely you have forgotten a semicolon in your own file somewhere.
Show us the file (menu01.cpp) that causes the error, edited to be as
small as possible (at most 15 lines)