Skip to content

Instantly share code, notes, and snippets.

@tjpalanca
Created May 28, 2018 08:15
Show Gist options
  • Save tjpalanca/dfa261ecc49099e0d48dfb2f775ed13d to your computer and use it in GitHub Desktop.
Save tjpalanca/dfa261ecc49099e0d48dfb2f775ed13d to your computer and use it in GitHub Desktop.
Add this to ~/.R/Makevars to make Stan stop throwing those stank errors during model compilation
CXXFLAGS = -Wno-macro-redefined -Wno-unused-variable -Wno-unused-function -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-c++11-inline-namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment