Wesnoth 1.3.1 configure and make warnings

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
musketaquid
Art Contributor
Posts: 117
Joined: July 18th, 2006, 12:23 am

Wesnoth 1.3.1 configure and make warnings

Post by musketaquid »

When i run configure i got lot's of these messages:

config.status: WARNING: po/wesnoth/Makefile.in.in seems to ignore the --datarootdir setting

What can i do against it?

And make always comes up with lot's of these:

events.hpp:50: warning: unused parameter 'event'

The line in file events.hpp:

Code: Select all

virtual bool requires_event_focus(const SDL_Event *event=NULL) const { return false; }
Why is there an event given, when this function doesn't handle it?


But these are not massive errors, make runs through, and the game works fine. :lol:
Günther
Posts: 11
Joined: December 27th, 2005, 8:31 pm

Re: Wesnoth 1.3.1 configure and make warnings

Post by Günther »

musketaquid wrote: config.status: WARNING: po/wesnoth/Makefile.in.in seems to ignore the --datarootdir setting

What can i do against it?
Not much, that file is copied from gettext, and I think autoconf has backwards compatibility code for this. But I'm sure that the gettext people will soon change their stuff for the new autoconf version which intodruced datarootdir.
User avatar
ivanovic
Lord of Translations
Posts: 1149
Joined: September 28th, 2004, 10:10 pm
Location: Germany

Re: Wesnoth 1.3.1 configure and make warnings

Post by ivanovic »

musketaquid wrote:When i run configure i got lot's of these messages:

config.status: WARNING: po/wesnoth/Makefile.in.in seems to ignore the --datarootdir setting

What can i do against it?
Just ignore the warnings. Everything works as expected even though is says settings would be ignored. They do work as expected.
User avatar
Sapient
Inactive Developer
Posts: 4453
Joined: November 26th, 2005, 7:41 am
Contact:

Re: Wesnoth 1.3.1 configure and make warnings

Post by Sapient »

musketaquid wrote: events.hpp:50: warning: unused parameter 'event'

The line in file events.hpp:

Code: Select all

virtual bool requires_event_focus(const SDL_Event *event=NULL) const { return false; }
Why is there an event given, when this function doesn't handle it?
The parameter is there because it is a virtual function and the sublasses of that class will need to use that parameter. If you don't find that warning useful, maybe you should tell your compiler to disable it? It is a false alarm.
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
musketaquid
Art Contributor
Posts: 117
Joined: July 18th, 2006, 12:23 am

Post by musketaquid »

Thank's a lot for the info!
Post Reply