Wesnoth 1.3.1 configure and make warnings
Moderator: Forum Moderators
-
- Art Contributor
- Posts: 117
- Joined: July 18th, 2006, 12:23 am
Wesnoth 1.3.1 configure and make warnings
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:
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.
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; }
But these are not massive errors, make runs through, and the game works fine.
-
- Posts: 11
- Joined: December 27th, 2005, 8:31 pm
Re: Wesnoth 1.3.1 configure and make warnings
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.musketaquid wrote: config.status: WARNING: po/wesnoth/Makefile.in.in seems to ignore the --datarootdir setting
What can i do against it?
Re: Wesnoth 1.3.1 configure and make warnings
Just ignore the warnings. Everything works as expected even though is says settings would be ignored. They do work as expected.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?
Re: Wesnoth 1.3.1 configure and make warnings
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.musketaquid wrote: events.hpp:50: warning: unused parameter 'event'
The line in file events.hpp:Why is there an event given, when this function doesn't handle it?Code: Select all
virtual bool requires_event_focus(const SDL_Event *event=NULL) const { return false; }
http://www.wesnoth.org/wiki/User:Sapient... "Looks like your skills saved us again. Uh, well at least, they saved Soarin's apple pie."
-
- Art Contributor
- Posts: 117
- Joined: July 18th, 2006, 12:23 am