Trying to compile the SVN version I get the following error:
roadveh_cmd.c(1622) : error C2065: 'UINT_MAX' : undeclared identifier
It probably has something to do with linking tot the limits.h file, but I have no idea what to do exactly.
It is the only error I get, could someone help me?
Trying to compile the SVN version I get the following error
Moderator: OpenTTD Developers
- webfreakz.nl
- Director
- Posts: 627
- Joined: 11 Aug 2005 08:22
- Location: Localhost, 127.0.0.1, [The Netherlands: South Holland-> Westland]
- Contact:
Haha, i had that error message too
Open roadveh_cmd.c using an texteditor, switch line 4 with line 3. This is the result in the file:
It has already been reported to Celestar on IRC, and I hope he changes it soon on SVN 

Open roadveh_cmd.c using an texteditor, switch line 4 with line 3. This is the result in the file:
Code: Select all
/* $Id: roadveh_cmd.c 4326 2006-04-08 14:18:39Z tron $ */
#include "stdafx.h"
#include <limits.h>
#include "openttd.h"
#include "debug.h"

# Programming is like sex, one mistake and you have to support it for the rest of your life. (Michael Sinz)
- webfreakz.nl
- Director
- Posts: 627
- Joined: 11 Aug 2005 08:22
- Location: Localhost, 127.0.0.1, [The Netherlands: South Holland-> Westland]
- Contact:
Graag gedaanVidar wrote:thank you, thank you, thank you

But you should thank KUDr for finding this solution, he helped me using VNC to find the problem and I was wondered why nobody had found this bug already ( it has been in SVN last week ) so I thought 'lets check the forum' and I saw your post

# Programming is like sex, one mistake and you have to support it for the rest of your life. (Michael Sinz)
Who is online
Users browsing this forum: No registered users and 19 guests