Commit Graph

66 Commits

Author SHA1 Message Date
Oliver Stöneberg 615e4c01c4
bumped minimum requirements to GCC 5.1 / Clang 3.5 / Visual Studio 2015 / CMake 3.5 (#5398)
The current versions only have partial C++11 support which fortunately
has caused us only few issues so far but it would be good to finally
have fully working C++11 support. This also gets rid of several CI
builds on very outdated platforms.

The outdated platforms were used to also test CMake 2.8 but as future
versions of CMake will drop combability with CMake < 3.5 this is a good
time to also drop that requirement on our part.

This PR does not remove or update any outdated code.
2024-01-04 21:31:08 +01:00
Oliver Stöneberg de9795b07b
deprecated qmake build system / removed Qt5 fallback when using `USE_QT6=On` (#5271)
QT 5 is now completely EOL and since we never supported Qt6 in qmake
which also has various shortcomings, it is time to at least deprecate it
and direct users to CMake instead.
2023-08-09 22:40:15 +02:00
Rainer Wiesenfarth f4f58bf020
Fix #11081 GUI: Windows release build crashes (#5083)
* Fix #11081 GUI: Windows release build crashes

Use generator expressions rather than if statements when adding compiler
options or definitions.

* Fix #11081 GUI: Windows CMake debug build fails with default options

When DISABLE_CRTDBG_MAP_ALLOC is using the default value (OFF), the
debug build of cppcheck-gui fails, as the "realloc" method names in some
of the Qt headers are replaced by the macro defined by the compiler.
Thus DISABLE_CRTDBG_MAP_ALLOC is explicitely set when compiling
cppcheck-gui in Debug mode using MSVC.
2023-06-07 11:33:55 +02:00
Oliver Stöneberg 9c8ebbcefc
readme.md: removed defunct (and unnecessary) GitHub Actions badge [skip ci] (#4923) 2023-04-04 07:47:05 +02:00
Oliver Stöneberg 28ed9d30e0
readme.md: rewrote `Packages` section [skip ci] (#4918) 2023-03-30 07:24:58 +02:00
bzgec 909e9ca359
Denote 'python xxx/donate-cpu.py' line as code (#4456) 2022-09-09 23:07:58 +02:00
orbitcowboy 9d7fa312b5
readme.md: Removed Travis badge as well 2022-02-18 16:46:25 +01:00
orbitcowboy 94df03c5fa
readme.md: Cleanup badges 2022-02-18 13:31:16 +01:00
Oliver Stöneberg aaa4425d90
added MinGW to CI and fixed local MinGW build (#3826) 2022-02-16 07:06:04 +01:00
Oliver Stöneberg a15a227b73
bumped minimum supported GCC version to 4.8 (#3768) 2022-02-05 17:57:32 +01:00
Claus Jensby Madsen d8c8487a98
Add build instructions for building with Visual Studio from the command line (#3655) 2021-12-25 12:20:05 +01:00
Daniel Marjamäki ca047e57bf Switch from http to https on our sourceforge webpage 2021-08-28 12:46:54 +02:00
Jan Egil Ruud ab33bf1da8
Add description of setup for development in VS Code. (#3170) 2021-03-20 10:34:42 +01:00
Pavel Skipenes 6f9e93b6ce
fixes: picojson.h: No such file or directory (#3067) 2021-01-19 18:56:01 +01:00
Daniel Marjamäki c7cbe7f2d3 rename externals/tinyxml to externals/tinyxml2 2020-11-16 09:11:53 +01:00
lakshit24 3b092c17e8
removed spaces and added punctuations marks (#2849) 2020-10-18 08:31:54 +02:00
Daniel Marjamäki e52c4f9aa7 readme: link to files used to build official rpms 2020-09-04 10:21:06 +02:00
Daniel Marjamäki 33388217a5 new default branch is main 2020-06-15 20:04:57 +02:00
Daniel Marjamäki e4c6ca5126 Removed xcode project. It did not work. And can be generated with cmake. 2020-05-28 18:35:12 +02:00
amai2012 6a7c0c531e
Add badge for GitHub Actions
Show the status of the CI workflow
2020-03-28 16:04:36 +01:00
orbitcowboy 1e3e270a55
Added OSS-fuzz badge 2019-12-21 13:32:26 +01:00
orbitcowboy 356dc164b7
README: Added License-badge 2019-11-14 09:02:19 +01:00
Daniel Marjamäki 29778fdddb readme: Donate CPU 2019-11-02 08:25:04 +01:00
Daniel Marjamäki a17f2a6f05 Compiling/Installing : The CFGDIR parameter was removed. Use FILESDIR instead. 2019-08-17 10:53:07 +02:00
Wolfgang Stöggl a8ab9796f6 Update readme files concerning Visual Studio (#2058)
- The cppcheck.sln file is configured for Visual Studio 2019
  See commit: ae86536
- Add information on how to obtain a current version of PCRE for
  Visual Studio using vcpkg from https://github.com/microsoft/vcpkg
2019-08-01 15:03:09 +02:00
Carlo Marcelo Arenas Belón ec4e43767e minor improvements (#1929)
* lib: isNonBoolStdType no longer needed

lib/checkbool.cpp:50:13: warning: unused function 'isNonBoolStdType'
      [-Wunused-function]
static bool isNonBoolStdType(const Variable* var)

* cmake: C++11 is required

also change instructions to a more common syntax
2019-06-28 06:57:05 +02:00
Daniel Marjamäki fef7bc584d readme: Add instructions for cmake 2019-06-27 06:51:59 +02:00
Daniel Marjamäki cf1f353ec3 readme.md: Removed 'donations' 2019-06-26 07:43:53 +02:00
Daniel Marjamäki 1b4485a738 Makefile: Add one more flag 'MATCHCOMPILER=yes' 2019-06-23 13:43:09 +02:00
Jim Zhou 071fc85a05 minor corrections (#1906) 2019-06-17 07:04:08 +02:00
Carlo Marcelo Arenas Belón bf5c71bdca sync (#1835)
* build: remove -Wabi and add -Wundef

gcc >= 8 throws a warning about -Wabi (without a specific ABI version)
being ignored, while -Wundef seems more useful (as shown by the change
in config.h, which was probably an unfortunate typo)

travis.yaml should probably be updated soon, but was left out from this
change as the current images don't yet need it

* lib: unused function in valueflow

refactored out since 8c03be3212

lib/valueflow.cpp:3124:21: warning: unused function 'endTemplateArgument' [-Wunused-function]

* readme: include picojson

* make: also clean exe
2019-05-17 09:31:41 +02:00
Igor Zhukov 0ab378b9cf fix typo (#1512) 2018-12-08 07:03:28 +01:00
Daniel Marjamäki dffad3b3d1 Remove some more cxx11emu.h references 2018-04-10 06:52:33 +02:00
hexcoder 78ae435a94 sync build instructions from readme.txt (#962) 2017-09-19 19:01:43 +02:00
Matthias Krüger 5ab8c20d8e readme: minor fix 2016-01-18 19:09:43 +01:00
Matthias Krüger 5440e0d5a0 readme: document proposed CXXFLAGS for release build 2016-01-18 19:07:40 +01:00
PKEuS cc783b0186 Updated/Improved several readme files 2015-11-06 15:19:08 +01:00
orbitcowboy dc57402887 Improved layout of Readme.md 2015-09-30 15:04:45 +02:00
orbitcowboy 377a6d425d Improved layout of Readme.md 2015-09-30 15:03:57 +02:00
orbitcowboy ab395dcaec Improved layout of Readme.md 2015-09-21 22:41:38 +02:00
PKEuS 421d42c838 Refactorized readme files. 2015-07-29 11:08:32 +02:00
XhmikosR 599d2b4119 Update readme.md badges.
[ci skip]
2015-04-20 21:11:45 +03:00
XhmikosR 2cd086304f Update readme.md.
[ci skip]
2015-03-07 09:49:07 +02:00
Daniel Marjamäki 2b182cbcc8 AppVeyor: Set proper badge 2015-01-27 18:13:56 +01:00
Daniel Marjamäki 6aead9ca06 Update readme.md 2015-01-27 10:12:47 +01:00
unknown 2e0b83551f add support for the AppVeyor CI system for checked Windows builds 2015-01-27 04:49:31 +01:00
orbitcowboy 292b4e3b93 Fixed #6270: Cross compiling instructions for cppcheck are wrong. 2014-11-01 19:00:22 +01:00
XhmikosR bfa788a329 readme.md: switch to the SVG badge. 2014-08-31 10:09:43 +03:00
Alexander Mai b50900595c #5482 - Cppcheck development with '--std=c++0x' enabled. Specify supported compilers. 2014-05-01 20:15:36 +02:00
Daniel Marjamäki d53a6ca2cd readme: To compile Cppcheck, partial C++11 support is needed. 2014-03-05 06:15:44 +01:00