Internationalization broke something?

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Internationalization broke something?

Postby vsoljan » 14 Sep 2010, 09:42

After introducing translation in WB (last master 20100901) i get following error messages in Dev-C++ compiler:

-----------------------------------------------
winboard.c: In function `InitInstance':
winboard.c:977: error: structure has no member named `language'

winboard.c: In function `PopUpStartupDialog':
winboard.c:1508: error: structure has no member named `language'

make.exe: *** [objs/winboard.o] Error 1

Execution terminated
-----------------------------------------------

Snapshot before internationalization compiles ok.
vsoljan
 
Posts: 24
Joined: 28 Sep 2009, 14:15

Re: Internationalization broke something?

Postby H.G.Muller » 16 Sep 2010, 18:19

You are right. I forgot to commit args.h, which defined the /language option, and common.h, which defined the new field of appData to hold the setting of it together with all the other changes.

Should be fixed now (on hgm.nubati.net, hgm5 branch); I amended the internationalization commit.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 4 guests