Why not using "stdint"

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
User avatar
boyamer
Orc
Posts: 459
Joined: Sat Jan 24, 2009 11:16 am
Location: Italy

Why not using "stdint"

Post by boyamer » Sat Dec 01, 2012 10:14 am

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
0 x

User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7152
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 19

Re: Why not using "stdint"

Post by Kojack » Sat Dec 01, 2012 10:29 am

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.
0 x

Post Reply