ext/torch/extconf.rb in torch-rb-0.3.6 vs ext/torch/extconf.rb in torch-rb-0.3.7

- old
+ new

@@ -15,9 +15,12 @@ $CXXFLAGS += " -Xclang" if apple_clang $CXXFLAGS += " -fopenmp" end if apple_clang + # silence rice warnings + $CXXFLAGS += " -Wno-deprecated-declarations" + # silence ruby/intern.h warning $CXXFLAGS += " -Wno-deprecated-register" # silence torch warnings $CXXFLAGS += " -Wno-shorten-64-to-32 -Wno-missing-noreturn"