Visual Studio - Get the correct include files

support for the powerpc toolchain
Post Reply
vg132
Posts: 1
Joined: Sun Jul 18, 2010 7:30 pm

Visual Studio - Get the correct include files

Post by vg132 » Sun Jul 18, 2010 7:38 pm

Hi,

I have setup my devkitPPC environment and everything works as expected witch is great but I have one issue that I can't solve myself. When using Visual Studio 2010 I want to get ride of all the Windows and unusable items from the intellisense and just get the stuff I can use so I have removed all windows include paths and only have "D:\Wii\DevkitPro\devkitPPC\powerpc-eabi\include" and "D:\Wii\DevkitPro\libogc\include" left, the works almost, Visual Studio just complains that exit and printf can't have any arguments... The code compiles fine (the hello world example included with devkitpro) so it's just a cosmetic error, anyone know how to fix this error? Am I missing a include here where printf and exit are declared to take arguments?

This is a list of the includes I have in the file,

Code: Select all

#include <stdio.h>
#include <stdlib.h>
#include <gccore.h>
#include <wiiuse/wpad.h>


/Viktor

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests