G++ failing to compile example where gcc succeeds?

An explantion of my problem is posted my here…

http://www.codeguru.com/forum/showthread.php?t=492258

I downloaded this example because 'm looking for the fastest scalable text graphics (on Linux) that I can find.
I’m writing a simulation and want to use text characters to represent parts in factories.
I want the characters will shuffle in straight lines ie as if they are on invisible conveyors set at various angles.

In windows I used the windows graphics api and it was quite fast.
Having moved to linux I did it using ncurses but it seemed slower.
I could also do with a gui package that plays nicely with the graphics package.

I’ve been having a look at Clutter but the tutorials aren’t up with the development.
Would sdl faster than clutter or would they be the same due to both using opengl??
fast scalable text graphics is not my area.
I’m running on a phenom and svgalib wouldn’t run.
cairo, sdl and clutter from a very limited tutorial are all I’ve had running so far.

Any advice very much appreciated!

Cracked it with help from a gcc-help member ie g++ can’t handle “GLvoid” as a parameter in some of the function prototypes.

When you use g++ instead of gcc, you are compiling the code as C++, which is
compatible with C as much as possible but does not support everything from C
the same way.On Sun, Feb 7, 2010 at 9:55 AM, bobl wrote:

Cracked it with help from a gcc-help member ie g++ can’t handle "GLvoid"
as a parameter in some of the function prototypes.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org