ext/tomoto/extconf.rb in tomoto-0.1.0 vs ext/tomoto/extconf.rb in tomoto-0.1.1
- old
+ new
@@ -9,9 +9,12 @@
apple_clang = RbConfig::CONFIG["CC_VERSION_MESSAGE"] =~ /apple clang/i
if apple_clang
# silence rice warnings
$CXXFLAGS += " -Wno-deprecated-declarations"
+else
+ # silence eigen warnings
+ $CXXFLAGS += " -Wno-ignored-attributes -Wno-deprecated-copy"
end
# silence tomoto warnings
$CXXFLAGS += " -Wno-unused-variable -Wno-switch"