Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cxong/tinydir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Woodall <william@osrfoundation.org>2014-04-22 11:01:31 +0400
committerWilliam Woodall <william@osrfoundation.org>2014-04-22 11:01:31 +0400
commit5ff7a4c0b617a81da90b4a3fe154ba369b9e257a (patch)
tree8f06429931bb1c3b536940b26b12de384e0912f1 /samples
parent97a4d8b1dce19d4b104e38231c4ab724f48d876a (diff)
the 10.9 compiler chokes on -freg-struct-return
Diffstat (limited to 'samples')
-rw-r--r--samples/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt
index a5bd3f5..e123f37 100644
--- a/samples/CMakeLists.txt
+++ b/samples/CMakeLists.txt
@@ -10,6 +10,8 @@ INCLUDE_DIRECTORIES(..)
if(MSVC)
add_definitions(-W4 -WX)
+elseif(APPLE)
+ add_definitions(-fsigned-char -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Winline -Werror)
else()
add_definitions(-fsigned-char -freg-struct-return -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Winline -Werror)
endif()