'packed' undeclared identifier?
Posted: Sat Jul 25, 2009 7:12 am
This feels like it must be a simple problem, but I've been out of the C++ game about as long as Borland so my meager skills are rusty.
I used the windows installer to set up devkitPPC and created a VC++ Express project for a Wii project to try and compile "triangle.c". I added the OGC libs to the project but when I build, I get a series of errors like this:
and
Am I missing an include / lib somewhere?
I used the windows installer to set up devkitPPC and created a VC++ Express project for a Wii project to try and compile "triangle.c". I added the OGC libs to the project but when I build, I get a series of errors like this:
Code: Select all
c:\devkitpro\libogc\include\ogc/system.h(162) : error C2065: 'packed' : undeclared identifier
Code: Select all
c:\devkitpro\libogc\include\ogc/system.h(186) : error C2371: '__attribute__' : redefinition; different basic types