Commit Graph

364 Commits

Author SHA1 Message Date
amai 3bdfad0b73 reduce and dmake now use existing object files as dependencies whenever possible. Fix compilation for reduce on cygwin. 2014-05-03 18:54:48 +02:00
Alexander Mai 9e9bc1e457 Since reduce shares object files with cppcheck it should use the same compiler and linker flags 2014-04-27 18:56:30 +02:00
Alexander Mai bf549d8883 Update for Makefile 2014-04-26 19:20:15 +02:00
Alexander Mai 290f0ef022 #5644 Compilation failure on Cygwin - related to tinyxml2 (#undefine __STRICT_ANSI__ on cygwin). Patch by ir0nh34d 2014-04-24 22:22:43 +02:00
Daniel Marjamäki 442b272b3f Updated Makefile 2014-04-21 10:12:46 +02:00
Alexander Mai 547803f581 #5592 - crash: gcc: testsuit: gcc.c-torture/compile/limits-declparen.c (Limit stack depth below createAst() 2014-04-13 12:47:54 +02:00
Matthias Krüger 71b306ff64 Ran dmake 2014-04-13 00:03:15 +02:00
Alexander Mai 9ac83d7624 reduce is linking against LIBS as well, to keep build scripts e.g. on travis working 2014-04-11 23:24:47 +02:00
Alexander Mai fb13c56ef0 Makefile: reduce now also depends on LIBOBJ: command not found 2014-04-11 22:27:29 +02:00
Matthias Krüger 4481015bdc dmake: "make dmake" now also runs the binary after compilation. 2014-04-03 16:41:58 +02:00
Alexander Mai 0242a3c188 -rdynamic cannot be used on mingw 2014-03-30 20:50:03 +02:00
PKEuS c078b3fced Added testing of samples/ to testrunner (#3515). 2014-03-28 13:06:38 +01:00
Matthias Krüger 5a7a155203 Ran dmake. 2014-03-26 10:25:34 +01:00
Alexander Mai 29165f3e5f Add -rdynamic to the linker flags to allow obtaining a bracktrace 2014-03-21 22:33:07 +01:00
Matthias Krüger ebb6dc3388 update Makefile with dmake. 2014-03-03 12:32:19 +01:00
Daniel Marjamäki f5cec6ea57 Makefile: use debug mode 2014-03-02 14:57:29 +01:00
Daniel Marjamäki a0c84d144f 1.64: Updated Makefile 2014-03-02 09:59:34 +01:00
Lauri Nurmi 91340d4043 Emulate the C++11 'nullptr' and 'static_assert' 2014-02-15 07:52:17 +01:00
Pavel Roschin 19a8cfd960 Library: add new "define" tag
This tag will allow to add some preprocessor defs into library.
It would be useful to provide more information about libraries
implementation details. As example GLib's library include tag
was added that helps to detect more memory leaks.
2014-02-07 10:13:36 +04:00
Daniel Marjamäki 5b479cc841 Updated Makefile with dmake 2014-01-22 21:26:50 +01:00
Daniel Marjamäki 79a1244a54 Updated Makefile with dmake 2014-01-20 20:55:17 +01:00
Daniel Marjamäki a7146916b1 Makefile: added -Wno-sign-compare. I don't like this warning 2014-01-18 09:51:48 +01:00
Ryan Pavlik 065db3d9f6 Add a rule to the cli makefile to actually build TinyXML2 2014-01-17 15:52:05 -06:00
Daniel Marjamäki 424675982a dmake: use -std=c++0x instead of -std=c++11 as it's supported by earlier gcc 2014-01-12 15:38:51 +01:00
Daniel Marjamäki 4224f873fd dmake: added -std=c++11 flag 2014-01-12 13:14:46 +01:00
Daniel Marjamäki a1a40ac034 updated Makefile with dmake 2014-01-12 13:13:29 +01:00
Daniel Marjamäki 91f7de047e value flow: Updated Makefile with dmake 2014-01-06 10:10:35 +01:00
Daniel Marjamäki f8e4426310 Updated Makefile 2014-01-04 21:09:02 +01:00
Daniel Marjamäki d8270c710a Add new experimental value flow analysis 2014-01-04 20:57:02 +01:00
Daniel Marjamäki f4c1aa5d58 Updated Makefile 2014-01-04 15:23:25 +01:00
Daniel Marjamäki 3941f08eb4 Makefile: Restore debug mode 2014-01-04 09:40:02 +01:00
Daniel Marjamäki 1b0dd00d81 1.63: Updated Makefile for release 2014-01-04 09:35:28 +01:00
Daniel Marjamäki 9e0d7d86e9 dmake: Improved handling of CFGDIR 2013-12-28 12:15:08 +01:00
Daniel Marjamäki d3a848f2e6 Makefile: Added optional CFGDIR parameter that allows user to specify where Cppcheck will look for cfg files. 2013-12-26 18:41:51 +01:00
Daniel Marjamäki 826ddf8a6d Updated Makefile with dmake 2013-12-26 17:42:23 +01:00
Daniel Marjamäki 569a29bc4a Library: Added simple testing 2013-10-27 17:10:43 +01:00
Daniel Marjamäki 6d982b823d update Makefile with dmake 2013-10-27 16:35:37 +01:00
Daniel Marjamäki 1fa5b5ffd5 Makefile: Set debug mode 2013-10-12 12:50:49 +02:00
Daniel Marjamäki 51f83fc772 1.62: Updated Makefile for release 2013-10-12 12:26:38 +02:00
Matthias Krüger 074f195f7b make install: install cppcheck-htmlreport as well. 2013-10-08 19:33:36 +02:00
Daniel Marjamäki 56680ef399 Makefile: auto-updated by dmake 2013-09-05 15:55:34 +02:00
Daniel Marjamäki d41e0f82cf reduce: Fix compilation problems 2013-08-17 19:20:47 +02:00
Daniel Marjamäki b485033fb8 Makefile: Set debug mode 2013-08-03 18:20:52 +02:00
Daniel Marjamäki 9e16abeb42 1.61: Updated Makefile 2013-08-03 18:16:17 +02:00
Daniel Marjamäki 66e406fe43 Makefile: update by dmake 2013-07-30 08:47:27 +02:00
Daniel Marjamäki 7d47fd65a2 Renamed --environment to --library. Added --check-library. Renamed Environment to Library 2013-07-08 18:26:18 +02:00
Daniel Marjamäki d96fb577cd CLI: Added --environment flag 2013-07-02 07:18:19 +02:00
Andreas Bießmann 90a6472af9 dmake: fix for local includes
When building cppcheck we may pull in conflicting global definitions before
local ones, rearrange include order to prevent this.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
2013-06-03 19:45:29 +02:00
Daniel Marjamki 2b453e7a55 Makefile: Set debug mode 2013-06-02 13:18:30 +02:00
Daniel Marjamki ecb45042e6 Makefile: Set release mode 2013-06-02 13:14:07 +02:00
Daniel Marjamäki d2091f4bd3 Makefile: Set debug mode 2013-06-01 15:29:40 +02:00
Daniel Marjamäki 449b3bc7da 1.60: Updated Makefile 2013-06-01 15:28:25 +02:00
Daniel Marjamäki e1fd003e2d makefile: make it possible to turn on matchcompiler verifications with 'VERIFY=1' 2013-05-15 13:04:19 +02:00
Lena Herscheid e23038c4de Fixed #4775 (Check for assert() with side effects) 2013-05-07 21:35:16 +02:00
Daniel Marjamäki 3f5a858800 dmake: update Makefile 2013-05-05 09:22:04 +02:00
Daniel Marjamäki ac811e41a4 Makefile: Set debug mode 2013-03-29 19:50:28 +01:00
Daniel Marjamäki 2596b720b8 1.59: Updated Makefile 2013-03-29 19:32:26 +01:00
Alexander Mai 9a0688bf6c Updated makefile 2013-02-16 21:12:08 +01:00
Daniel Marjamki 944b756a76 updated Makefile with dmake 2013-02-09 19:36:24 +01:00
Stefan Naewe 9c68aa0a94 Makefile: set LDFLAGS correct when built with MINGW32
Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
2013-02-08 11:32:06 +01:00
Daniel Marjamäki 0e82ca764a Makefile: restore to debug mode 2013-01-12 15:40:59 +01:00
Daniel Marjamäki 75bb4a96cb 1.58: Updated Makefile for release 2013-01-12 14:51:49 +01:00
Thomas Jarosch 241d23ba8e Remove reduce tool in 'make clean' 2013-01-03 21:59:28 +01:00
Daniel Marjamäki 28d5ad9d21 dmake: fixed reduce compilation 2013-01-02 15:36:17 +01:00
Daniel Marjamäki 7f2d9cb7eb dmake: fixed compilation of reduce 2013-01-02 14:43:31 +01:00
Daniel Marjamäki 9877b77291 dmake: use 'make reduce' to compile the reduce program 2013-01-02 13:30:06 +01:00
Marc-Antoine Perennou cd9782472f build: rename LIBDIR to SRCDIR
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2012-12-11 09:30:37 +01:00
Daniel Marjamäki 514d06b015 Makefile: minor cleanup 2012-12-03 06:34:43 +01:00
Daniel Marjamäki 94930c3bd7 Compiled Token::Match patterns: let 'make clean' cleanup compiled patterns 2012-12-02 13:42:48 +01:00
Daniel Marjamäki d630d34b62 Compiled Token::Match patterns. Added python script solution. Python is required to build with compiled patterns. To build cppcheck with compiled patterns use 'make LIBDIR=build'. 2012-12-02 12:36:55 +01:00
Daniel Marjamäki 16faf3f738 Makefile: Set debug mode 2012-11-04 14:12:20 +01:00
Daniel Marjamäki d8d9a7c3c6 1.57: Updated Makefile 2012-11-04 13:57:49 +01:00
Edoardo Prezioso 9e147c4a0a Makefile: update with 'dmake'; gui: run 'lupdate gui.pro ; lrelease gui.pro'. 2012-10-15 02:25:26 +02:00
Daniel Marjamäki 295ba9cc4f Fixed #2709 (Negative times in --showtime summary) 2012-09-15 19:49:48 +02:00
Daniel Marjamäki ce862e02aa dmake: New version of TinyXml needs -DTIXML_USE_STL define in linux 2012-09-09 13:08:04 +02:00
Daniel Marjamäki edb9989545 Makefile: Set debug mode again after 1.56 release. 2012-09-01 12:45:42 +02:00
Daniel Marjamäki dbdfed17fb 1.56: Updated Makefile 2012-09-01 11:06:52 +02:00
Daniel Marjamäki b50a36e3f9 updated Makefile with dmake 2012-08-09 20:13:51 +02:00
Edoardo Prezioso 826d5bb00b Since the GCC -Wconversion warnings are fixed (at least on a x86-64 environment), enable it in the Makefile. 2012-07-18 00:50:30 +02:00
Daniel Marjamäki 0b37f4044b Makefile: Set debug mode 2012-06-30 18:12:15 +02:00
Daniel Marjamäki 2cd4d9f508 1.55: Updated Makefile 2012-06-30 18:10:27 +02:00
Daniel Marjamäki bc9e419615 run dmake 2012-06-22 11:59:56 +02:00
Edoardo Prezioso 4987f6a4a9 running dmake 2012-06-22 00:29:38 +02:00
Edoardo Prezioso 4390df75b9 Run dmake. 2012-06-17 20:19:37 +02:00
Kimmo Varis db587794c9 Update Makefile. 2012-06-11 22:16:12 +03:00
Daniel Marjamäki b9e35b8516 Makefile: updated by dmake 2012-06-08 19:37:06 +02:00
Daniel Marjamäki bd8fb0a6b5 Memory leaks: Added new checking for memory leaks 2012-05-26 08:53:46 +02:00
Edoardo Prezioso 1f13e74182 Run dmake. 2012-05-20 22:19:10 +02:00
Daniel Marjamäki aebedfb123 dmake: updated Makefiles 2012-05-20 12:04:47 +02:00
Daniel Marjamäki 58bee0afde Makefile: generated new Makefiles since the Tokenizer has been split up 2012-05-05 18:39:29 +02:00
Daniel Marjamäki cf5abc8eb1 Makefile: Updated Makefile with dmake 2012-04-30 16:31:02 +02:00
Daniel Marjamäki 12ed4e8448 Makefile: Set debug mode 2012-04-15 07:26:49 +02:00
Daniel Marjamäki 10e6828fa9 1.54: Updated Makefile 2012-04-15 07:25:08 +02:00
Daniel Marjamäki 16427b40b9 dmake: move . this fixes compiler errors when compiling with some old gcc 3.X compiler 2012-02-26 10:18:21 +01:00
Edoardo Prezioso f37f13c3ad Fixed typo in make file generation. 2012-02-17 20:12:41 +01:00
Daniel Marjamäki f183954150 dmake: keep some dummy debug code in release Makefiles to make the debug/release more similar 2012-02-12 03:30:58 +01:00
Daniel Marjamäki 15669d20b4 Makefile: Set debug mode 2012-02-11 08:27:10 +01:00
Daniel Marjamäki 2e492eb835 1.53: Updated Makefile 2012-02-11 08:23:45 +01:00
Reijo Tomperi be7691c7b4 Refactoring: Move rest of the template simplification into TemplateSimplifier
simplifyCalculations() was temporarily moved into TemplateSimplifier also, it should be moved to a better place.
2012-01-09 21:33:11 +02:00
Reijo Tomperi 194327048a Add InternalError and change MathLib to throw it in case of an error.
- Previously MathLib errors did not provide a filename, but after this change at least source file name should be printed
and if token is provided, also line number should be printed.
- Change also Token to use InternalError
- Modify Cppcheck-class to catch InternalError instead of Token
- Run dmake to update Makefile
2012-01-08 22:19:44 +02:00