I have attempted to add a ADD_GLINT_SERIALIZER for the cases where I got
errors. I did as Robert suggested and just blindly cast to int.
Figured I'd post here first instead of to submissions since I have no
idea if this will break other builds, but it allows the serializers to
compile for me
HI Matrin Wang Rui
On Thu, Mar 18, 2010 at 3:15 AM, Wang Rui wangra...@gmail.com wrote:
Hi Martins,
I have no experience in Mac. But it seems that type definition of
GLint changes to some other types in your system. In most other cases,
we have:
typedef int GLint;
in the gl.h header.
Wang Rui,
Looking at gl.h under the different SDK's here are the typedefs:
10.4 : long
10.5 : int
10.6 : int
So I'm not sure what that means in terms of being able to support
different types with the serializer.
Martins
On 3/17/2010 11:15 PM, Wang Rui wrote:
Hi Martins,
I
Hello,
I get the following 2 errors when trying to compile the latest svn on a
Mac running 10.6 but using the 10.4 SDK. This compiles fine using the
10.6 SDK with gcc-4.2, but since the 10.4 SDK requires gcc-4.0, I assume
its a compiler quirk. Any suggestions on how to get around it?
Hi Martins,
I have no experience in Mac. But it seems that type definition of
GLint changes to some other types in your system. In most other cases,
we have:
typedef int GLint;
in the gl.h header. And an ADD_INT_SERIALIZER is workable with it.
Maybe we should have more tests on 64bit systems
5 matches
Mail list logo