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
Thomas Jarosch
db8c7deb30
Fixed #3232 (Check if container is modified inside BOOST_FOREACH)
2011-10-23 13:07:43 +02:00
Edoardo Prezioso
12f6ce46f8
Add more warnings and fix the ones reported by them.
2011-10-22 15:05:43 +02:00
Edoardo Prezioso
84cd0bd585
Run tools/dmake.
2011-10-22 13:40:08 +02:00
Daniel Marjamäki
34e2a2ad66
Makefile: Disable rules by default
2011-10-17 20:18:36 +02:00
Daniel Marjamäki
47d8752098
Makefile: Set debug mode
2011-10-08 08:06:24 +02:00
Daniel Marjamäki
d32b288e4e
1.51: Updated Makefile for release
2011-10-08 07:55:54 +02:00
Kimmo Varis
716679ec7d
Move Suppressions class to own source files.
...
I want to use Suppressions class also in GUI. And that is easier
to do when it is not internal class of Settings class. And in
general is it more natural that Settings class only contains list
of suppressions and implementation is separate.
2011-08-22 19:57:28 +03:00
Robert Reif
2dd93dff75
move unused variable checks from checkother to checkunusedvar
2011-08-19 14:35:25 -04:00
Edoardo Prezioso
f62d1d0122
Fixed #3017 (set HAVE_RULES to yes only if HAVE_RULES is undefined when executing make.)
2011-08-19 00:28:31 +02:00
Daniel Marjamäki
d336e91049
Makefile: Added the -D_GLIBCXX_DEBUG flag again to get checked stl during debug
2011-08-14 18:57:48 +02:00
Daniel Marjamäki
c2b32bcfe5
Makefile: Set debug mode
2011-08-14 10:46:56 +02:00
Daniel Marjamäki
315112314c
1.50: Updated Makefile
2011-08-14 08:13:02 +02:00
Daniel Marjamäki
47f13860b7
AssignIf: Added new check. Ticket: #2909
2011-07-30 21:43:21 +02:00
Ettl Martin
35bb5dffa4
Added a new check for finding non-reentrant functions
2011-07-28 23:29:16 +02:00
Daniel Marjamäki
4d76085757
Makefile: auto-update by dmake
2011-07-24 14:54:54 +02:00
Robert Reif
fd40e6a362
fix some development stuff that snuck in by mistake
2011-07-21 19:05:50 -04:00
Robert Reif
cc1ecccd01
fix #2928 (False positive (static variable misinterpreted as auto variable))
2011-07-21 18:20:19 -04:00
Daniel Marjamäki
8f0f184058
64-bit checking: Added simple check for assigning pointer address to int/long. Ticket: #2791
2011-07-06 08:55:17 +02:00
Felix Geyer
e49763b14f
Ticket: #2823 (cppcheck fails to build with system tinymxl and -Wl,--as-needed)
2011-06-19 20:56:12 +03:00
Daniel Marjamäki
f04f060e71
Makefile: Set debug mode
2011-06-12 18:37:01 +02:00
Daniel Marjamäki
301429d151
1.49: Updated Makefile for release
2011-06-12 18:28:04 +02:00
Greg Hewgill
8dd4eb39a1
Revert "Remove the testsuppressions because it doesn't contain any unit tests. A testsuppressions would be nice if it was more specific. Ticket: #2748 "
...
This reverts commit 6bf5eb67be
.
2011-05-03 10:18:05 +00:00
Daniel Marjamäki
67ef647262
Makefile: updated with dmake
2011-05-01 07:50:45 +02:00
Daniel Marjamäki
6bf5eb67be
Remove the testsuppressions because it doesn't contain any unit tests. A testsuppressions would be nice if it was more specific. Ticket: #2748
2011-04-30 13:05:21 +02:00
Kimmo Varis
c7d99fe9a7
Remove ErrorLogger::reportStatus() method.
...
The ErrorLogger::reportStatus() is not lib code interface. The CLI
code does the looping through file list and gives one file at a
time for the core code. Hence lib has no any idea about the
progress and it can't provide such information.
Also the recent commit (6d858b6
) caused a GUI build failure by
adding CLI code dependency to GUI. Which is big no-no.
This is admittedly a hack. But it allow us to build all modules
again.
2011-04-27 23:27:02 +03:00
Greg Hewgill
d80fc17ed9
Makefile: handle case where LDFLAGS is already defined
2011-04-22 11:07:49 +12:00
Daniel Marjamäki
712e285bd6
Makefile: added option for compiling with/without rules
2011-04-19 20:53:40 +02:00
Reijo Tomperi
485ff0b472
"#ifndef" can't be used in Makefile (it is considered a commented line). Replaced it with "ifndef".
2011-04-11 22:54:29 +03:00