Can't build SVN in MSVC6

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
tombom
Engineer
Engineer
Posts: 18
Joined: 28 Dec 2004 20:24

Can't build SVN in MSVC6

Post by tombom »

Wasn't really sure where to post this.

I've got an SVNd copy but MSVC6 won't compile it. Compile log is shown below:

Code: Select all

--------------------Configuration: ttd - Win32 Release with PNG--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Oa'
Command line warning D4002 : ignoring unknown option '/Ow'
Command line warning D4002 : ignoring unknown option '/Og'
Command line warning D4002 : ignoring unknown option '/Oi'
Command line warning D4002 : ignoring unknown option '/Os'
w32dm2.cpp
Compiling...
Command line warning D4002 : ignoring unknown option '/Oa'
Command line warning D4002 : ignoring unknown option '/Ow'
Command line warning D4002 : ignoring unknown option '/Og'
Command line warning D4002 : ignoring unknown option '/Oi'
Command line warning D4002 : ignoring unknown option '/Os'
settings_gui.c
C:\openttd\settings_gui.c(630) : error C2065: 'STR_CONFIG_PATCHES_MAP_X' : undeclared identifier
C:\openttd\settings_gui.c(630) : error C2099: initializer is not a constant
C:\openttd\settings_gui.c(630) : warning C4047: 'initializing' : 'unsigned short ' differs in levels of indirection from 'unsigned char [6]'
C:\openttd\settings_gui.c(630) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'unsigned int *'
C:\openttd\settings_gui.c(630) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'void *'
C:\openttd\settings_gui.c(631) : error C2065: 'STR_CONFIG_PATCHES_MAP_Y' : undeclared identifier
C:\openttd\settings_gui.c(631) : error C2099: initializer is not a constant
C:\openttd\settings_gui.c(631) : warning C4047: 'initializing' : 'unsigned short ' differs in levels of indirection from 'unsigned char [6]'
C:\openttd\settings_gui.c(631) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'unsigned int *'
C:\openttd\settings_gui.c(631) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'void *'
C:\openttd\settings_gui.c(647) : error C2065: 'STR_CONFIG_PATCHES_FORBID_90_DEG' : undeclared identifier
C:\openttd\settings_gui.c(647) : error C2099: initializer is not a constant
C:\openttd\settings_gui.c(647) : warning C4047: 'initializing' : 'unsigned short ' differs in levels of indirection from 'unsigned char [14]'
C:\openttd\settings_gui.c(647) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'unsigned char *'
C:\openttd\settings_gui.c(647) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'void *'
C:\openttd\settings_gui.c(653) : error C2065: 'STR_CONFIG_PATCHES_NEW_PATHFINDING_ALL' : undeclared identifier
C:\openttd\settings_gui.c(653) : error C2099: initializer is not a constant
C:\openttd\settings_gui.c(653) : warning C4047: 'initializing' : 'unsigned short ' differs in levels of indirection from 'unsigned char [20]'
C:\openttd\settings_gui.c(653) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'unsigned char *'
C:\openttd\settings_gui.c(653) : warning C4047: 'initializing' : 'unsigned char ' differs in levels of indirection from 'void *'
station_cmd.c
C:\openttd\station_cmd.c(1439) : error C2065: 'STR_3008B_TOO_MANY_TRUCK_STOPS' : undeclared identifier
C:\openttd\station_cmd.c(1439) : error C2065: 'STR_3008A_TOO_MANY_BUS_STOPS' : undeclared identifier
C:\openttd\table/station_land.h(6) : warning C4305: 'initializing' : truncation from 'const int ' to 'char '
...more of the same...
Generating Code...
Error executing cl.exe.

ttd.dsp.exe - 10 error(s), 141 warning(s)
Nightly sources have worked fine before.
User avatar
Dextro
Chief Executive
Chief Executive
Posts: 701
Joined: 12 Jan 2005 21:56
Location: Lisboa, Portugal
Contact:

Post by Dextro »

I'm getting errors in settings_gui.c aswell in mingw :?

Is there some bug in the svn???
Uncle Dex Says: Follow the KISS Principle!
matthijs
Engineer
Engineer
Posts: 76
Joined: 25 Jun 2004 15:20
Location: Enschede, Netherlands
Contact:

Post by matthijs »

Is there some bug in the svn???
Probably, as always : -D

I already replied to your problem in your other thread, were it belongs (Problems forum).

Matthijs
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Amazon [Bot] and 8 guests