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; } ^
Builds with clang
RE: Builds with clang
C++ is not very stable. I get same strange stuff going on with latest clang version (FreeBSD CURRENT)