Zack Piper
2a3f0de94d
Fix compilation on ARMv7.Fixes #2387 .
2015-07-24 18:02:03 +00:00
Cengiz Can
c967698b2d
Skip unknown cflag for Apple clang & remove cSemaphore
2015-06-04 11:48:56 +03:00
tycho
d5c89eceb8
Moved shared cmake flags to the CMAKE_C_FLAGS var
2015-05-30 13:32:22 +01:00
tycho
e19693e529
Merge branch 'master' into PreventNewWarnings
...
Conflicts:
src/Inventory.cpp
2015-05-28 11:05:41 +01:00
linnemannr
5049fd0fbf
Support building on FreeBSD
...
SetFlags.cmake
Add -lexecinfo to linker flags for FreeBSD to resolve backtrace()
lib/sqlite/CMakeLists.txt
Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for
POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define
controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined
to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE
and __POSIX_VISIBLE to the 199506 for POSIX.1c
lib/tolua++/CMakeLists.txt
src/CMakeLists.txt
Add /usr/local/lib to the library search path for FreeBSD builds
src/OSSupport/Errors.cpp
Correct the strerror_r() implementation determination to check whether
_GNU_SOURCE is defined, not what it evaluates to
2015-05-24 20:07:31 -06:00
tycho
51b4584b42
Fix clang 3.6 flags to only be used in clang 3.6
2015-05-24 15:22:55 +01:00
tycho
dae9e5792a
Made -Weverything an error.
2015-05-24 12:56:56 +01:00
tycho
81c0116cf1
Merge branch 'master' into PreventNewWarnings
2015-05-23 07:33:52 -07:00
Lukas Pioch
e30b2ed487
Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.
2015-05-23 16:28:37 +02:00
tycho
7a5c1d30f8
Added pthread as a link flag.
2015-05-23 11:53:49 +01:00
tycho
77f1f58c0a
Make -Werror disabling file only
...
Ad fix a load of warnings
2015-05-19 19:32:10 +01:00
Tiger Wang
e8e03e5df2
Update GCC on Travis
2014-11-23 14:21:44 +00:00
worktycho
c3479f7557
Fix flag name in gcc 4.6 and earlier
2014-10-09 10:07:58 +01:00
worktycho
5cf1ba092e
Enabled C++11 in gcc
2014-10-09 09:53:16 +01:00
Tycho
cf69ddcce1
Cleaned up flags
2014-09-10 19:49:52 +01:00
worktycho
22b4511640
Update SetFlags.cmake
2014-09-06 18:11:42 +01:00
Tycho
562b2d1d1d
Added workaround for clang version
2014-09-06 16:30:04 +01:00
Tycho
5fa206a420
bumped cmake version min and fixed clang support
2014-09-06 15:30:13 +01:00
worktycho
f7d06f093e
Wrong cmake var
2014-09-06 14:55:06 +01:00
worktycho
8b5ad667d9
Improve error message
2014-09-06 14:49:40 +01:00
worktycho
f22b9aa5f4
Should now compile in clang 3.0
2014-09-06 14:38:47 +01:00
Tycho
806d0936dc
First Implementatation of new Loggin framework
2014-08-10 19:34:11 +01:00
archshift
443112d70e
Removed the new old-style-cast warning from error treatment
...
This is a new warning included in clang that ships with OS X 10.10 Yosemite.
2014-07-26 03:34:23 -07:00
archshift
431d898a81
Made redundant semi not an error, fixed one more.
2014-07-24 11:24:22 -07:00
archshift
4191be7ddb
Removed redundant semicolons and re-added warning
2014-07-24 11:21:37 -07:00
archshift
6f0a538385
SetFlags.cmake: don't use ${} expansion on if STREQUAL
...
See http://stackoverflow.com/questions/19982340/cmake-compare-to-empty-string-with-strequal-failed
2014-07-02 21:19:09 -07:00
worktycho
fb5d88b17e
Merge pull request #1129 from mc-server/CodeCoverageCondition
...
Moved CodeCoverage into a separate cmake condition.
2014-06-27 19:24:02 +01:00
madmaxoft
9c29afb300
CMake: pthread is used only on Unix.
2014-06-27 12:15:24 +02:00
worktycho
833d328435
Added MSVC guard
2014-06-27 11:07:03 +01:00
worktycho
9e1829e4e6
Update SetFlags.cmake
2014-06-27 10:45:43 +01:00
worktycho
62669f64de
Update SetFlags.cmake
2014-06-27 10:27:02 +01:00
madmaxoft
78442edf1d
CMake: Added log message for coverage.
2014-06-27 11:02:28 +02:00
madmaxoft
f68dc6210f
Moved CodeCoverage into a separate cmake condition.
2014-06-27 09:24:11 +02:00
worktycho
5a9e49fbeb
Fix cmake errors in msvc
2014-05-28 11:49:36 +01:00
Tycho
4ab8288116
Merge branch 'master' into chunksparsing/structs
2014-05-24 12:44:49 +01:00
Mattes D
f03cbb5e04
Fixed profiling flags for MSVC.
...
The profiler output contained no useful symbols before, because there were no symbols in the PDBs.
2014-05-23 11:22:48 +02:00
Tycho
77395b3739
Maybe coverage working?
2014-05-10 05:03:36 -07:00
archshift
d094beb45a
Needs the -stdlib linker flag too.
2014-04-25 16:40:57 -07:00
archshift
0f9e399351
Move to line 47.
2014-04-25 10:32:39 -07:00
archshift
ce505f6814
Use libc++ on OSX
...
Fixes issues with f3dfc0349d
in XCode.
Tested on Mac (Makefile and XCode) and Linux.
2014-04-25 07:58:59 -07:00
worktycho
10cba6cf58
Revert moving gcc to g++11 in 18c3b1
2014-04-22 13:05:23 +01:00
Tiger Wang
18c3b18a3f
Compile fix?
2014-04-17 13:02:20 +01:00
madmaxoft
0d916a3e2f
Removed the exit-time-destructors flag from clang.
...
We don't care about exit-time destructors, at least for now.
2014-04-01 16:10:08 +02:00
madmaxoft
e610262fb1
Attempt at disabling the useless clang warnings.
...
Ref.: #846 , #847
2014-04-01 09:44:11 +02:00
Tycho
fbd4d53dac
Merge branch 'master' into unreachable
...
Conflicts:
SetFlags.cmake
2014-03-15 06:47:56 -07:00
Tycho
693e59c6a4
Merge branch 'master' into noreturn
...
Conflicts:
SetFlags.cmake
2014-03-14 08:04:48 -07:00
Tycho
8e11c270fc
Added Noreturn attribtes to a couple of functions and made a missing noreturn an error
2014-03-14 07:59:25 -07:00
Tycho
c51a9b5fc2
Merge branch 'master' into unreachable
...
Conflicts:
SetFlags.cmake
2014-03-14 07:46:33 -07:00
Tycho
fed461bf2a
Made unreachable code an error
2014-03-14 07:12:18 -07:00
Tycho
22cdbe99b4
Fixed a couple of missing defs
2014-03-14 06:44:04 -07:00