Sdlwii vs. devkitPPC defines

support for the powerpc toolchain
Post Reply
LCID Fire
Posts: 5
Joined: Mon May 25, 2009 5:35 pm

Sdlwii vs. devkitPPC defines

Post by LCID Fire » Thu May 28, 2009 5:57 pm

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.

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Sdlwii vs. devkitPPC defines

Post by WinterMute » Sat May 30, 2009 12:29 am

Probably because it's improperly built - just one of the reasons why it's not supported here.
Help keep devkitPro toolchains free, Donate today

Personal Blog

LCID Fire
Posts: 5
Joined: Mon May 25, 2009 5:35 pm

Re: Sdlwii vs. devkitPPC defines

Post by LCID Fire » Sat May 30, 2009 11:12 am

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?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests