IA builds semi-successfully on OSX
Created by: nathyong
I recently built IA v19.2 on OSX. I'm running OSX 10.11.3 with just the command-line tools.
I did need to do the following:
- Install sdl_mixer and other packages off homebrew
- remove
-Werror
fromCMakeLists.txt
due to a warning:
In file included from /Users/nathan/build/ia/src/manual.cpp:1:
/Users/username/build/ia/include/manual.hpp:46:9: error: private field 'top_idx_' is not used [-Werror,-Wunused-private-field]
int top_idx_;
^
1 error generated.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 21dd6d5..9c12dc4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -249,7 +249,6 @@ if(CMAKE_COMPILER_IS_GNUCXX OR(CMAKE_C_COMPILER_ID MATCHES "Clang") OR(CMAKE_CXX
-fno-rtti
-Wall
-Wextra
- -Werror
-Wno-unused-value
)
There's probably a better way around this though.