Builds with clang

Pioneer is an open-ended space adventure game. Explore the galaxy, make your fortune trading between systems, or work for the various factions fighting for power, freedom or self-determination.
Homepage: http://pioneerspacesim.net/
IRC: http://pioneerspacesim.net/irc
Downloads: https://pioneerspacesim.net/page/download/
Post Reply
thefranklin
Private
Posts: 11
Joined: Sun Jun 19, 2011 11:26 am

Builds with clang

Post by thefranklin »

It seems to build quite well ( env CFLAGS=" -O3 -pipe" CXXFLAGS=" -O3 -pipe" CC="clang" CXX="clang++" CPP="clang-cpp" ./configure ) on FreeBSD 9.0-RC1 amd64.A few warnings like this do pop up but they don't seem to keep it from running.
Code:
warning: unknown warning option '-Wstrict-null-sentinel' [-Wunknown-warning-option]In file included from SystemView.cpp:3:./SectorView.h:57:7: warning: 'SectorView::OnKeyPress' hides overloaded virtual function [-Woverloaded-virtual] void OnKeyPress(SDL_keysym *keysym); ^./gui/GuiWidget.h:47:16: note: hidden overloaded virtual function 'Gui::Widget::OnKeyPress' declared here virtual bool OnKeyPress(const SDL_keysym *sym) { return false; } ^
durandal
Private
Posts: 44
Joined: Tue Jun 14, 2011 9:01 pm

RE: Builds with clang

Post by durandal »

C++ is not very stable. I get same strange stuff going on with latest clang version (FreeBSD CURRENT)
Post Reply

Return to “Pioneer”