Remove some more cxx11emu.h references
This commit is contained in:
parent
8c082f1b3f
commit
dffad3b3d1
|
@ -10,7 +10,7 @@ env:
|
||||||
global:
|
global:
|
||||||
# unfortunately we need this to stay within 50min timelimit given by travis.
|
# unfortunately we need this to stay within 50min timelimit given by travis.
|
||||||
# this also turns off the debug/warning cxxflags
|
# this also turns off the debug/warning cxxflags
|
||||||
- ORIGINAL_CXXFLAGS="-include lib/cxx11emu.h -pedantic -Wall -Wextra -Wabi -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wshadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -D_GLIBCXX_DEBUG -g "
|
- ORIGINAL_CXXFLAGS="-pedantic -Wall -Wextra -Wabi -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wshadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -D_GLIBCXX_DEBUG -g "
|
||||||
- CXXFLAGS="${ORIGINAL_CXXFLAGS} -O2 -march=native -Wstrict-aliasing=2 -Werror=strict-aliasing"
|
- CXXFLAGS="${ORIGINAL_CXXFLAGS} -O2 -march=native -Wstrict-aliasing=2 -Werror=strict-aliasing"
|
||||||
matrix:
|
matrix:
|
||||||
# special CXXFLAGS for maximum speed, overrides global CXXFLAGS, CHECK_CLANG is the var that controls if we download and check clang in that travis job
|
# special CXXFLAGS for maximum speed, overrides global CXXFLAGS, CHECK_CLANG is the var that controls if we download and check clang in that travis job
|
||||||
|
|
|
@ -22,7 +22,7 @@ A manual is available [online](http://cppcheck.sourceforge.net/manual.pdf).
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
|
|
||||||
Any C++11 compiler should work. For compilers with partial C++11 support it may work. If your compiler has the C++11 features that are available in Visual Studio 2010 then it will work. If nullptr is not supported by your compiler then this can be emulated using the header lib/cxx11emu.h.
|
Any C++11 compiler should work. For compilers with partial C++11 support it may work. If your compiler has the C++11 features that are available in Visual Studio 2013 / GCC 4.6 then it will work.
|
||||||
|
|
||||||
To build the GUI, you need Qt.
|
To build the GUI, you need Qt.
|
||||||
|
|
||||||
|
@ -91,13 +91,13 @@ Flags:
|
||||||
If you just want to build Cppcheck without dependencies then you can use this command:
|
If you just want to build Cppcheck without dependencies then you can use this command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
g++ -o cppcheck -std=c++0x -include lib/cxx11emu.h -Iexternals/simplecpp -Iexternals/tinyxml -Ilib cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
g++ -o cppcheck -std=c++11 -Iexternals/simplecpp -Iexternals/tinyxml -Ilib cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
||||||
```
|
```
|
||||||
|
|
||||||
If you want to use `--rule` and `--rule-file` then dependencies are needed:
|
If you want to use `--rule` and `--rule-file` then dependencies are needed:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
g++ -o cppcheck -std=c++0x -include lib/cxx11emu.h -lpcre -DHAVE_RULES -Ilib -Iexternals/simplecpp -Iexternals/tinyxml cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
g++ -o cppcheck -std=c++11 -lpcre -DHAVE_RULES -Ilib -Iexternals/simplecpp -Iexternals/tinyxml cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
||||||
```
|
```
|
||||||
|
|
||||||
### MinGW
|
### MinGW
|
||||||
|
|
|
@ -15,9 +15,8 @@ Manual
|
||||||
Compiling
|
Compiling
|
||||||
|
|
||||||
Any C++11 compiler should work. For compilers with partial C++11 support it may work. If
|
Any C++11 compiler should work. For compilers with partial C++11 support it may work. If
|
||||||
your compiler has the C++11 features that are available in Visual Studio 2010 then it
|
your compiler has the C++11 features that are available in Visual Studio 2013 / GCC 4.6
|
||||||
will work. If nullptr is not supported by your compiler then this can be emulated using
|
then it will work.
|
||||||
the header lib/cxx11emu.h.
|
|
||||||
|
|
||||||
To build the GUI, you need Qt.
|
To build the GUI, you need Qt.
|
||||||
|
|
||||||
|
@ -69,10 +68,10 @@ Compiling
|
||||||
g++ (for experts)
|
g++ (for experts)
|
||||||
=================
|
=================
|
||||||
If you just want to build Cppcheck without dependencies then you can use this command:
|
If you just want to build Cppcheck without dependencies then you can use this command:
|
||||||
g++ -o cppcheck -std=c++0x -include lib/cxx11emu.h -Iexternals/simplecpp -Iexternals/tinyxml -Ilib cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
g++ -o cppcheck -std=c++11 -Iexternals/simplecpp -Iexternals/tinyxml -Ilib cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
||||||
|
|
||||||
If you want to use --rule and --rule-file then dependencies are needed:
|
If you want to use --rule and --rule-file then dependencies are needed:
|
||||||
g++ -o cppcheck -std=c++0x -include lib/cxx11emu.h -lpcre -DHAVE_RULES -Ilib -Iexternals/simplecpp -Iexternals/tinyxml cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
g++ -o cppcheck -std=c++11 -lpcre -DHAVE_RULES -Ilib -Iexternals/simplecpp -Iexternals/tinyxml cli/*.cpp lib/*.cpp externals/simplecpp/simplecpp.cpp externals/tinyxml/*.cpp
|
||||||
|
|
||||||
mingw
|
mingw
|
||||||
=====
|
=====
|
||||||
|
|
Loading…
Reference in New Issue