Beginner Having Problems


danlorimer

Still Fresh
Joined
Mar 29, 2008
Messages
11
Age
40
Location
Manchester, UK
Website
www.danlorimer.com
After lots of heartache I finally found a really old topic about how to set it all up, so no biggy, thanks to all who contributed to that^^


I have my gp2x code compiling well(no .gpe tho =$), but my win32 version has the following error:

CODE

c:\devkitpro\devkitgp2x\include\sdl\sdl.h(111) : error C2010: '.' : unexpected in macro formal parameter list



In sdl.h, line 111 it says this:
CODE

# define dprintf(x...)



Has anyone seen this error before? And is there a possible solution?

Yours,
Dan
 
I have started using code blocks and it works^^

Unfortunately, I have to create a gp2x demo for a university project and the brief requires me to supply a solution file for MS VS2005 ; ;

Sucks so so bad :angry:
 
I would like to see the whole macro before saying yes but if it is correct, then no it wouldn't be a problem
 
Figures. I always used GCC in my projects.

Edit: Yes they do, I just tried this in VS2005:
CODE
#define blah(x, ... ) printf( x, ## __VA_ARGS__ );

And that works fine :/
 
Back
Top