Commit Graph

401 Commits

Author SHA1 Message Date
Matthias Krüger c676f626b9 run dmake 2016-01-16 19:13:53 +01:00
Daniel Marjamäki d54f4f9c65 Fix TestAstUtils 2016-01-16 19:08:51 +01:00
Albert ARIBAUD (3ADEV) 38e70dfb74 Preprocessor directives for addons
This patch augments the XML dumps with a 'directivelist'
subnode which lists all raw preprocessor directives met
while reading the source code in each configuration.

Also, the addons/cppcheckdata.py file has been extended
to give easy access to the list of directives and to
provide Python support for the --template (or short -t)
option.

Finally, an new addon, addons/y2038/y2038.py, is created
to detect when a glibc symbol might be Y2038-sensitive,
based on whether and how _TIME_BITS and _USE_TIME_BITS64
are defined when meeting the symbol.
2016-01-15 12:36:35 +01:00
Daniel Marjamäki 4d7ac522aa Makefile: Set debug mode 2016-01-09 15:12:11 +01:00
Daniel Marjamäki 36ec2ec421 1.72: Updated Makefile 2016-01-09 14:50:01 +01:00
Martin Ettl 7cb27d91c4 dmake: Added -Wno-multichar flag. 2016-01-08 11:40:54 +01:00
Alexander Mai f5194accfd Run dmake. Add missing include to lib/checkinternal.cpp 2015-11-29 11:09:21 +01:00
Alexander Mai b1385dd951 Run dmake to update Makefile etc. 2015-11-22 10:40:48 +01:00
Matthias Krüger fdadb3e7a9 run dmake 2015-11-20 15:49:59 +01:00
Alexander Mai 65666a1ba4 Makefile: explicit list directories which should be used with ctags. Run astyle. 2015-11-15 19:03:18 +01:00
Alexander Mai bda9c8c2d5 --exception-handling now prints callstack on SIGINT, allows to debug program hangs. Also add handler for some more signals. 2015-11-14 19:59:22 +01:00
Daniel Marjamäki 5cc2b38767 Makefile: Set debug mode 2015-11-14 19:00:25 +01:00
Daniel Marjamäki dd6c242339 Makefile: 1.71 release 2015-11-14 18:58:50 +01:00
Simon Martin 14d2830e49 Restore build on OSX, where make defines CXX as "c++" by default. 2015-11-14 07:53:34 +01:00
orbitcowboy ab90a7eb49 Fixed broken HAVE_RULE support. Updated Makefile. Added override keyword when HAVE_RULES is set. 2015-11-13 11:38:06 +01:00
Daniel Marjamäki 630ba1086c Update Makefile 2015-11-11 14:16:07 +01:00
Matthias Krüger 11915f84e2 dmake: force-add -std=c++0x if we compile with g++ or clang++ 2015-11-10 21:07:06 +01:00
Daniel Marjamäki 64f3007d9e updated Makefile 2015-11-08 17:37:21 +01:00
Alexander Mai 445907d930 Makefile: Move -std=c++0x to CXXFLAGS to allow using other compilers 2015-11-08 12:52:56 +01:00
Matthias Krüger ab89e85ce5 run dmake 2015-10-07 23:53:11 +02:00
Matthias Krüger 1d7c3c3db0 run dmake 2015-10-07 18:19:28 +02:00
Matthias Krüger 73b088a6dd dmake: don't compile clang build with -D_GLIBCXX_DEBUG since it breaks the build. 2015-10-05 09:50:18 +02:00
Alexander Mai 0d7d1e8350 Add 'run-dmake' as PHONY target to Makefile to avoid linking dmake always 2015-09-05 17:12:15 +02:00
Daniel Marjamäki 34793ee7ce Makefile: debug 2015-09-04 20:25:10 +02:00
Daniel Marjamäki 6479256f11 1.70: Updated Makefile 2015-09-04 19:39:01 +02:00
Dmitry Marakasov 3bf737acbd Make DB2MAN overridable
On different systems it may point to different locations, e.g. FreeBSD uses ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl
2015-08-17 19:31:08 +03:00
Matthias Krüger c1f719aa68 run dmake 2015-08-11 13:02:38 +02:00
Daniel Marjamäki 30c7b58e4c Updated Makefile 2015-08-10 16:05:38 +02:00
Daniel Marjamäki 25d09b34fd update Makefile 2015-08-08 09:20:33 +02:00
Daniel Marjamäki e598b07a6d Moved functions to astutils 2015-08-03 09:20:50 +02:00
Matthias Krüger d1d25234c1 run dmake 2015-08-02 22:46:30 +02:00
Alexander Mai 96c3c111fc Refactoring: Move some AST related functions to distinct source file 2015-08-02 21:57:32 +02:00
Daniel Marjamäki 234669b02b Removed the UninitVar::analyseFunctions(). This was written for multifile checking however it did not work as it should => no multifile errors can be detected. 2015-07-24 08:30:38 +02:00
Daniel Marjamäki c2a15ac286 Removed ExecutionPath 2015-07-23 19:01:12 +02:00
Daniel Marjamäki 631db1551a Updated Makefile 2015-07-23 17:43:04 +02:00
Daniel Marjamäki 856d496c71 fix dmake 2015-07-23 15:02:32 +02:00
PKEuS 91c7361034 Fixed dmake and travis build 2015-07-23 14:53:18 +02:00
Daniel Marjamäki 678d755ce5 disable -Woverloaded-virtual warnings to avoid a few FPs 2015-06-30 20:38:15 +02:00
Alexander Mai 4172011e78 Missing update for Makefile. CheckMemoryLeakInFunction::getcode(): skip some C++ token matching in C mode. Minor refactoring 2015-06-20 22:49:28 +02:00
Alexander Mai b3c7a3f798 Fix more (potential) multi-threading issues 2015-06-20 22:26:51 +02:00
Matthias Krüger 2edf133d07 run dmake 2015-06-14 16:03:23 +02:00
Alexander Mai a7b82b5c28 Refactoring to address some issues from #5895 (handling of unsigned numbers). Also adding a TODO testcase since the real issue (FP) is still not fixed 2015-06-13 18:08:13 +02:00
Daniel Marjamäki f540484d38 Makefile: Set debug mode 2015-05-01 20:21:10 +02:00
Daniel Marjamäki b548b3da9e 1.69: Updated Makefile 2015-05-01 18:53:19 +02:00
Daniel Marjamäki 066b24dc9c dmake: disable -Wconversion to avoid false positives when compiling 2015-04-15 11:32:52 +02:00
Matthias Krüger 85a88c4a31 run dmake 2015-03-12 00:06:18 +01:00
Matthias Krüger 958c05cec4 run dmake 2015-03-11 21:28:26 +01:00
Matthias Krüger da5874fc99 run dmake 2015-01-28 22:39:06 +01:00
Matthias Krüger e56671101e tests: add a script which runs test/cfg tests.
add new make target (checkcfg) which builds cppcheck and executes the script
       make travis run checkcfg
2015-01-27 19:46:52 +01:00
Matthias Krüger 25cdeeeea3 run dmake 2015-01-08 19:55:41 +01:00