Notifications
Clear all
Topic starter
October 25, 2011 08:59
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
./SectorView.h warning: 'SectorView::OnKeyPress' hides overloaded virtual
function [-Woverloaded-virtual]
void OnKeyPress(SDL_keysym *keysym);
^
./gui/GuiWidget.h note: hidden overloaded virtual function
'GuiOnKeyPress' declared here
virtual bool OnKeyPress(const SDL_keysym *sym) { return false; }
^
[-Wunknown-warning-option]
In file included from SystemView.cpp
./SectorView.h warning: 'SectorView::OnKeyPress' hides overloaded virtual
function [-Woverloaded-virtual]
void OnKeyPress(SDL_keysym *keysym);
^
./gui/GuiWidget.h note: hidden overloaded virtual function
'GuiOnKeyPress' declared here
virtual bool OnKeyPress(const SDL_keysym *sym) { return false; }
^
October 25, 2011 12:53
C++ is not very stable. I get same strange stuff going on with latest clang version (FreeBSD CURRENT)