Page 1 of 1

Why not using "stdint"

Posted: Sat Dec 01, 2012 10:14 am
by boyamer
Hi Developer,
I saw that ogre uses own typedef for primitive types, like uchar, ushort, uint etc, why not include "stdint" and use uin8_t, uint16_t, uint32_t etc, is there any specific motivation or only design choise?

Cheers,
Amer

Re: Why not using "stdint"

Posted: Sat Dec 01, 2012 10:29 am
by Kojack
Stdint is part of the C99 standard, which isn't supported by Visual Studio.
VS2010 and above do include stdint.h and cstdint, but VS2008 and earlier don't come with it.