Notifications
Clear all

Builds with clang


thefranklin
(@thefranklin)
Petty Officer Registered
Joined: 13 years ago
Posts: 11
Topic starter  

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; }
^

Quote
durandal
(@durandal)
Petty Officer Registered
Joined: 13 years ago
Posts: 44
 

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


ReplyQuote