1
0
Commit Graph

52 Commits

Author SHA1 Message Date
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
Tycho
9c6ca5a3ed made format-nonliteral an error 2014-03-11 14:43:56 -07:00
Tycho
0fc4a1ee06 Move comment 2014-03-11 12:36:51 -07:00
Tycho
693734bd83 Enable error on cast-align and unused macros 2014-03-10 11:57:04 -07:00
Tycho
617ad0b5f8 Only enable -Werror in gcc because gcc doesn't let you suppress enum missmatch warnings 2014-03-09 10:46:39 -07:00
Tycho
713c59b60b Treat enum missmatches as warnings for now as there is such a large number of them. 2014-03-09 10:41:53 -07:00
Tycho
676dcfd1c7 Globals.h is now warnings free again.
Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
2014-03-09 10:32:56 -07:00
Tycho
c5436e1ae7 Lots more warnings 2014-03-09 09:16:15 -07:00
Tycho
59d42ec5b2 Enabled loads of clang warnings 2014-03-09 04:58:08 -07:00
Tycho
b4e3d0aa4e Turned off Wunused-parameter 2014-03-09 04:37:36 -07:00
Tycho
d51cab2d3b Turned on Werror 2014-03-07 11:16:16 -08:00
Tycho
b480148116 Fixed warnings 2014-03-07 10:26:07 -08:00
worktycho
95ea0ef43d Fixed clang compile 2014-03-07 17:22:37 +00:00
worktycho
2a3d8d46ec Only use fast-math in exes 2014-03-07 17:04:38 +00:00
worktycho
fac56bb935 Enabled -ffast-math 2014-03-07 16:55:45 +00:00
Tycho
6da2d2bb21 Added -Wextra 2014-02-16 07:04:44 -08:00