Daniel Molkentin
f054ca3f72
Disable Werror by default, set CSYNC_STRICT=ON to disable
2013-08-08 16:19:44 +02:00
Daniel Molkentin
6a6bfd1c89
Use proper compiler switch
2013-08-07 16:58:09 +02:00
Daniel Molkentin
045a3f17ba
_USE_GNU -> _GNU_SOURCE
2013-08-05 21:11:14 +02:00
Daniel Molkentin
575874bcbe
asprintf is GNU specific
...
Unless we have a replacement, use _USE_GNU
2013-08-02 15:20:03 +02:00
Daniel Molkentin
8c9799cede
Ignore false-positive compiler warnings
2013-08-02 15:19:41 +02:00
Olivier Goffart
3cc41db0bd
Fix warning with clang
...
/usr/include/features.h:330:4: error: _FORTIFY_SOURCE requires compiling
with optimization (-O) [-Werror,-W#warnings]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
2013-08-01 13:13:05 +02:00
Daniel Molkentin
8d99364d63
Eliminate all warnings
...
- use proper casts
- use aproproate types
- offer to build with -Werror
- make printf attribute hinting gnu format style
- remove unused helper methods
- begin to use inttyes.h macros where suitable
- move var declarations to the beginning of the method
- properly use _FILE_OFFSET_BITS
- silence variables unused depending on the define
2013-07-31 13:12:10 +02:00
Markus Goetz
80d53ff4bd
Enable compilation with static iniparser and sqlite
2012-11-07 17:46:13 +01:00
Andreas Schneider
cea0c9e85f
cmake: Fix compile option on UNIX with Clang.
2012-10-22 11:20:30 +02:00
Andreas Schneider
d0888ffba8
cmake: Fix build on OSX.
2012-01-20 15:23:18 +01:00
Andreas Schneider
3a265152d8
Set compiler to c99.
2009-09-12 12:26:09 +02:00
Andreas Schneider
4e462e9762
Fix indent.
2009-05-14 19:38:40 +02:00
Andreas Schneider
177bcce3ae
Use -Wextra compiler flag by default.
2008-07-09 09:47:24 +02:00
Andreas Schneider
ea950dc870
Always compile with -fPIC if supported by the compiler.
2008-07-02 20:20:50 +02:00
Andreas Schneider
dddfe5ac79
Disable check for C++ compiler.
2008-06-03 11:00:50 +02:00
Andreas Schneider
804e5adee6
Add more warnings.
2008-05-08 16:17:17 +02:00
Andreas Schneider
c7b77fab5b
Add stackprotector flag and check for fourtify source.
2008-05-07 11:42:45 +02:00
Andreas Schneider
1b29a420bc
Initial commit
2008-02-27 18:56:47 +01:00