Commit Graph

255 Commits

Author SHA1 Message Date
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
Reijo Tomperi e33b80329b Refactoring: Rerun dmake to update makefile, related to previous commit. 2012-01-01 23:03:23 +02:00
Reijo Tomperi aa927d5aa3 Refactoring: Add new file lib/templatesimplifier.cpp
The plan is to move template simplification into this new class to take some lines from 10 000 line tokenizer.
2012-01-01 22:55:05 +02:00
Daniel Marjamäki 3d5539a7dc Makefile: Set debug mode 2011-12-10 13:02:03 +01:00
Daniel Marjamäki 6f2bbc0ba6 1.52: Updated Makefile 2011-12-10 13:00:45 +01:00
Akio Idehara baa97d53fc Fixed #3346 (cygwin detection for _GLIBCXX_DEBUG in Makefile) 2011-11-29 20:35:56 +01:00
Thomas Jarosch f6e68914ea Add check for cppcheck's internal API usage (#3263)
First checks:
- Simple pattern used inside Token::Match()
- Complex pattern used inside Token::simpleMatch()

The checks get enabled by passing "--enable=internal".
It's not included in "--enable=all".

If you see something that needs further tweaking, just go for it!
2011-10-28 22:46:07 +02:00
Ville Skyttä b69ad0fefc Makefile: Use pcre-config to get include/lib paths etc 2011-10-28 21:20:19 +02:00
Daniel Marjamäki 17aea0a997 dmake: disabled -Wunreachable-code because there was too many warnings 2011-10-24 07:09:14 +02:00
Edoardo Prezioso df5d26901c Add new warning option to check for dead code and change the order of some struct members to reduce structure padding. 2011-10-24 03:02:00 +02:00