Page 1 of 1

Sdlwii vs. devkitPPC defines

Posted: Thu May 28, 2009 5:57 pm
by LCID Fire
Could someone tell me why the following is happening?
Trying to compile with standard gcc (yes, I know what I'm doing) I get

Code: Select all

<mydir>/devkitpro/libogc/include/SDL/SDL_config_wii.h:39: error: conflicting types for ‘size_t’
<mydir>/devkitpro/devkitPPC/lib/gcc/powerpc-gekko/4.2.4/include/stddef.h:214: error: previous declaration of ‘size_t’ was here
and a few thousand other type conflicts. Why is SDL using other defines than devkitppc?
I assume that at least one uses compiler types vs hardcoded types.

Re: Sdlwii vs. devkitPPC defines

Posted: Sat May 30, 2009 12:29 am
by WinterMute
Probably because it's improperly built - just one of the reasons why it's not supported here.

Re: Sdlwii vs. devkitPPC defines

Posted: Sat May 30, 2009 11:12 am
by LCID Fire
WinterMute wrote:Probably because it's improperly built - just one of the reasons why it's not supported here.
Is there any reason why on places like

Code: Select all

$(DEVKITPRO)/libogc/include/wiiuse/wiiuse.h
or

Code: Select all

$(DEVKITPRO)/libogc/include/SDL/SDL_config_wii.h
they hardcode typedefs instead of including them of devkitppc?