« Return to Thread: error when compiling project with mingw gcc 4.4

error when compiling project with mingw gcc 4.4

by Roger D Vargas :: Rate this Message:

Reply to Author | View in Thread

I installed gcc 4.4 for testing, I have been using version 3 bundled
with Code::blocks and everything was fine. But with gcc 4.4 I get this
error:
.\mingw-deps\include\AL\alc.h|187|error: '<anonymous>' has incomplete type|
..\mingw-deps\include\AL\alc.h|187|error: invalid use of 'ALCvoid'|

The line is this:
ALC_API ALCcontext *    ALC_APIENTRY alcGetCurrentContext( ALCvoid );
I cant remember exactly what OpenAL version Im using, I just know it is
a bit old. Any Idea about how to solve this problem?

--
Roger D. Vargas
Using Gentoo Linux 2008.0, Ogre 1.6.2, fglrx
Powered by Celeron D 2.8 Ghz, 2Gb RAM, Radeon HD4770
Currently working on: The Ark physics system
http://dsgp.blogspot.com

_______________________________________________
Openal mailing list
Openal@...
http://opensource.creative.com/mailman/listinfo/openal

 « Return to Thread: error when compiling project with mingw gcc 4.4