[Openal] [freeALUT] missing stdint.h under visualc++8 - why not add Paul Hsieh portable stdint.h?

Andre Krause post at andre-krause.net
Thu Nov 23 04:45:10 PST 2006


Sven Panne wrote:
>> -----Original Message-----
>> From: openal-bounces at opensource.creative.com 
>> [mailto:openal-bounces at opensource.creative.com] On Behalf Of 
>> Andre Krause
>> Sent: Donnerstag, 23. November 2006 11:05
>> To: openal at opensource.creative.com
>> Subject: [Openal] [freeALUT] missing stdint.h under 
>> visualc++8 - why not add Paul Hsieh portable stdint.h?
>>
>> the current svn version of freeALUT does not compile out of 
>> the box under visual c++ 2005. i had to change the header 
>> alutInternal.h a little bit so it includes the freely 
>> available stdint.h from paul hsieh
>>
>> http://www.azillionmonkeys.com/qed/pstdint.h
>> http://en.wikipedia.org/wiki/Stdint.h
>>
>> why not modify alutInternal.h in such a way that, if it 
>> detects a missing stdint.h, it includes pstdint.h from the 
>> same directory?
> 
> *sigh* Even at the end of 2006 M$ seems to ignore standards like C99...
> :-P Anyway, the autoconf magic should have detected that there is no
> stdint.h and should fall back to M$-specific types like __int8, __int16
> etc., but this doesn't seem to work in your case. It looks like I have
> to install Visual C++ 2005 and fix the autoconf magic.
> 
> Thanks for the report,
>    S.
> 
> 
ups! i did not use any autoconf (how to do that anyway under
windows???). i just loaded your provided solution file for visual studio
(the .sln) and tried to compile. maybe you could add some preprocessor
definitions to the project file
(right mouse klick context menu:config
properties->c/c++->Preprocessor->Preprocessor Definitions)
that indicate to alutintern.h that stdint.h is missing.

anyway - besides this little problem alut compiled flawlessly under
windows! fantastic work!


More information about the Openal mailing list