mirror of https://github.com/AxioDL/metaforce.git
gcc compile fix
This commit is contained in:
parent
93a602be9a
commit
880c9f6c95
|
@ -11,7 +11,7 @@ public:
|
|||
CToolHelp(const SToolPassInfo& info)
|
||||
: CToolBase(info)
|
||||
{
|
||||
if (!m_info.args.size())
|
||||
if (m_info.args.empty())
|
||||
throw std::invalid_argument("help requires a tool name argument");
|
||||
}
|
||||
|
||||
|
|
|
@ -2,8 +2,10 @@ TARGET = hecl
|
|||
CONFIG -= Qt
|
||||
QT =
|
||||
LIBS -= -lQtGui -lQtCore
|
||||
unix:QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++
|
||||
unix:!macx:LIBS += -std=c++11 -stdlib=libc++ -lc++abi
|
||||
unix:QMAKE_CXXFLAGS += -std=c++11
|
||||
unix:LIBS += -std=c++11
|
||||
clang:QMAKE_CXXFLAGS += -stdlib=libc++
|
||||
clang:LIBS += -stdlib=libc++ -lc++abi
|
||||
|
||||
INCLUDEPATH += ../include
|
||||
|
||||
|
|
|
@ -3,7 +3,11 @@ CONFIG += staticlib
|
|||
TARGET = hecl
|
||||
CONFIG -= Qt
|
||||
QT =
|
||||
unix:QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++
|
||||
unix:QMAKE_CXXFLAGS += -std=c++11
|
||||
unix:QMAKE_CFLAGS += -std=c99
|
||||
unix:LIBS += -std=c++11
|
||||
clang:QMAKE_CXXFLAGS += -stdlib=libc++
|
||||
clang:LIBS += -stdlib=libc++ -lc++abi
|
||||
|
||||
INCLUDEPATH += $$PWD ../include ../extern
|
||||
|
||||
|
|
Loading…
Reference in New Issue