GP32 DevKitAdv C++ compiling errors


Tsyayin

Still Fresh
Joined
Feb 15, 2003
Messages
27
When i compile my gpmain.cpp with devkitadv, i get errors in the arm-agb-elf/include files: time.h, reent.h, stdlib.h, and g++'s types.h

i get parse errors, and "only mac or targets win32 supported errors"

anyone have this problem? can anyone help me?
 
Sorry to sound patronising but do you have another GCC install on your path of extra include dir's that you don't need?

I have no problems with C++ using DevKitAdv but I had to hack about it on my setup due to the various compilers I have installed.
 
Here are my errors:


C:\devkitadv\test>c++ -Ic:\devkitadv\arm-agb-elf\include\gp32 gpmain.cpp
In file included from /cygdrive/c/devkitadv/arm-agb-elf/include/time.h:32,
from /cygdrive/c/devkitadv/arm-agb-elf/include/sys/reent.h:14,
from /cygdrive/c/devkitadv/arm-agb-elf/include/stdlib.h:24,
from gpmain.cpp:5:
/cygdrive/c/devkitadv/include/g++-v3/sys/types.h:23:2: #error ERROR: Only Mac or
Win32 targets supported!
In file included from /cygdrive/c/devkitadv/arm-agb-elf/include/sys/reent.h:14,
from /cygdrive/c/devkitadv/arm-agb-elf/include/stdlib.h:24,
from gpmain.cpp:5:
/cygdrive/c/devkitadv/arm-agb-elf/include/time.h:47: parse error before `)'
token
 
Back
Top