GameMonkey Script

GameMonkey Script Forums
It is currently Sat Aug 08, 2020 5:36 am

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GCC compilation issues
PostPosted: Thu Dec 15, 2011 12:05 pm 

Joined: Thu Dec 15, 2011 10:56 am
Posts: 1
Hi. I'm trying to compile 1.28.5 with mingw/GCC 4.4.1 with CodeBlocks by following downgraded's article on

I have all the src files in a folder with the respective gmConfig_p.h as well. And the project search directory set to that folder (because for whatever reason CodeBlocks doesn't accept just having the files open in the project).

Here's where compilation failed:
In member function 'bool gmCodeGenPrivate::GenExprConstant(const gmCodeTreeNode*, gmByteCodeGen*)':
error: 'gmint' was not declared in this scope
error: expected primary-expression before ')' token

Any ideas? I feel like it is probably just something stupid I forgot to do...

Reply with quote  
PostPosted: Tue Jul 24, 2012 11:25 am 

Joined: Tue Jul 24, 2012 11:18 am
Posts: 3
That seems to be a bug with current stable version.
Needed to add:
typedef int gmint;
to the .../platform/win32gcc/gmConfig_p.h
in ...

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group