Pete Johns
4934cfa622
Wrapped variables in conditions
...
This allows CXX and CXXFLAGS to be overridden without patching. Added PREFIX for MacPorts compatibility, allowing staging to $(DESTDIR)$(PREFIX)/bin, leaving original behaviour unchanged.
Exit early if run in incorrect directory or if Makefile cannot be written.
2010-09-20 21:16:09 +10:00
Kimmo Varis
ed656e02e4
Fix compiling tests in Linux.
...
For Linux I needed to add cmdlineparser object file to test target
linking definitions in dmake.
2010-09-06 22:45:29 +03:00
Daniel Marjamäki
f476cc12f8
Disabled the -Wconversion. There are too many compiler warnings currently when using it.
2010-08-15 08:58:27 +02:00
Daniel Marjamäki
5e1168fc5c
dmake: removed _GLIBCXX_DEBUG because it doesn't work in cygwin. added -Wconversion
2010-08-13 21:31:04 +02:00
Daniel Marjamäki
adc47f1820
Fixed #1487 (fix gcc compiler warnings)
2010-08-06 21:02:43 +02:00
Daniel Marjamäki
1a5a1002b6
updated dmake. updated Makefile (includes cleanup).
2010-07-27 15:25:03 +02:00
Reijo Tomperi
0c61454b3f
Added test case deadlock_with_many_errors() for ticket #1650
...
http://sourceforge.net/apps/trac/cppcheck/ticket/1650
The test case is currently commented out, because it would cause tests to hang also.
2010-06-18 00:42:01 +03:00
Daniel Marjamäki
8504863636
dmake: updated compiler flags in release mode. only -Wall.
2010-05-08 12:57:44 +02:00
Reijo Tomperi
35d2a27b9c
Update copyright year in all source files
2010-04-13 22:23:17 +03:00
Reijo Tomperi
eb79e5f918
Enable -Wshadow in Makefile
2010-04-11 14:57:03 +03:00
Daniel Marjamäki
0cad22314e
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
2010-04-02 07:30:58 +02:00
Martin Ettl
193aa7d1d3
astyle fix
2010-04-02 02:21:53 +02:00
Daniel Marjamäki
9e393fd92e
Makefile: Added flag -Wno-long-long compiler flag to suppress warnings about long long
2010-03-31 21:47:51 +02:00
Daniel Marjamäki
f7662b094d
astyle formatting
2010-03-13 08:05:07 +01:00
Daniel Marjamäki
48a63e4c35
gcc: removed -Wlogical-op that is not supported by old GCC
2010-03-13 08:03:30 +01:00
Kimmo Varis
66448b41ac
Restore and fix tools Makefile. Fix include lines.
2010-03-11 22:55:31 +02:00
Kimmo Varis
b746e9d4be
Fix dmake for Windows.
2010-03-11 22:30:06 +02:00
Kimmo Varis
a7996ab252
Fix compiling in Linux. Fix compiling dmake.
2010-03-11 22:15:15 +02:00
Daniel Marjamäki
2c210b8ff9
dmake,qmake: temporarily removed -Wsign-conversion
2010-03-09 11:10:34 +01:00
Daniel Marjamäki
2ba3f59fc8
dmake, qmake: more sensitive compiler and runtime
2010-03-09 08:24:52 +01:00
Daniel Marjamäki
cffe20a440
dmake: debug/release mode, more gcc warnings
2010-03-09 08:10:05 +01:00
Reijo Tomperi
01c5bdfc68
Add TODO test case for #1452 (Simplify goto better)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/1452
2010-02-24 22:55:16 +02:00
Daniel Marjamäki
5254822bed
dmake: generate the lib/lib.pri file
2010-02-23 21:27:01 +01:00
Daniel Marjamäki
56e67d38ff
Readded man/install to the Makefile
2010-02-23 18:37:46 +01:00
Daniel Marjamäki
2befb74a07
astyle formatting
2010-02-20 09:14:15 +01:00
Daniel Marjamäki
a9bd7296b7
dmake: simplified a little
2010-02-19 17:35:38 +01:00
Daniel Marjamäki
744c385097
Revert "removed tools/dmake and Makefile. Please use cmake from now on."
...
This reverts commit cfacd5fe10
.
2010-01-23 09:54:51 +01:00
Daniel Marjamäki
cfacd5fe10
removed tools/dmake and Makefile. Please use cmake from now on.
2010-01-22 20:57:30 +01:00
Reijo Tomperi
7596e76a79
Added 'make man' to Makefile
2009-11-22 16:43:55 +02:00
Reijo Tomperi
3be9f2e6cc
astyle fix
2009-10-27 11:10:59 +02:00
Daniel Marjamäki
27761a6edc
Restructuring: Updated the dependency walker
2009-10-26 22:36:36 +01:00
Daniel Marjamäki
09859c1019
refactoring the folder structure
2009-10-25 12:49:06 +01:00
Reijo Tomperi
fdde2182b9
Fix GPL comments in all files. ">." was missing from the end.
2009-09-27 18:08:31 +03:00
Daniel Marjamäki
03f3ee62a0
cleanup: removed deprecated files. security checking and errmsg
2009-07-12 19:18:38 +02:00
Reijo Tomperi
8b0e481d46
Refactoring: Rename member functions to follow naming guidelines.
2009-07-05 23:16:43 +03:00
Reijo Tomperi
58eda6e978
Fix ticket #325 (Replace developer names in source files with AUTHORS file)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/325
2009-05-30 08:48:12 +03:00
Daniel Marjamäki
3c1c33669e
refactoring: The errmsg is no longer supposed to generate the errorLogger code
2009-03-21 10:15:46 +01:00
Vesa Pikki
3d6e3d38bb
Applied a patch by Mike Frysinger
...
The proper variable to use for the C++ compiler is $(CXX). Also, when
linking objects, $(LDFLAGS) should be used.
2009-03-09 19:35:43 +02:00
Reijo Tomperi
017e10e10b
Fix ticket #141 (changed the makefile), changing compiler is now easier in the makefile.
...
http://apps.sourceforge.net/trac/cppcheck/ticket/141
2009-03-07 01:45:27 +02:00
Reijo Tomperi
fc8f47145a
Copyrights updated
2009-03-01 19:52:33 +00:00
Reijo Tomperi
fb3c81dcd9
Fix ticket #80 (refactoring: classes ErrorMessage and ErrorLogger), note that errormessage and errorlogger were merged, errormessage.* is no more.
2009-02-08 21:20:35 +00:00
Daniel Marjamäki
e691ade8e6
Build: Enabled the Wextra flag when building cppcheck
2009-01-22 21:16:50 +00:00
Reijo Tomperi
176dd41306
Fixed Ticket #40 , Check copyright texts in files, now that we have new developers.
2009-01-21 20:04:20 +00:00
Daniel Marjamäki
631e202027
dmake: Minor updates. Moved target "all" a little. Handle the change 937 where "make test" also executes testrunner
2009-01-11 06:17:54 +00:00
Daniel Marjamäki
01ec1b15fe
dmake: minor fixes. The tools binaries will be put in the tools folder
2009-01-10 07:38:11 +00:00
Daniel Marjamäki
f83741503e
make: updated the make so that the tools are built with "make all". And added the errormessage.h generator to the makefile also
2009-01-09 19:28:55 +00:00
Daniel Marjamäki
38286a7d57
dmake: don't generate Makefile if there are no src files
2009-01-09 18:13:00 +00:00
Reijo Tomperi
66547e7ddf
Fixed make install from the generated makefile
2009-01-08 21:02:03 +00:00
Daniel Marjamäki
80c7e00e84
tools: Added headers to source files
2009-01-08 06:22:14 +00:00
Daniel Marjamäki
5b86188c45
tools: updated the code style
2009-01-07 15:17:02 +00:00