Skip to content

Instantly share code, notes, and snippets.

@johnmurrayvi
Last active December 19, 2015 01:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnmurrayvi/5879822 to your computer and use it in GitHub Desktop.
Save johnmurrayvi/5879822 to your computer and use it in GitHub Desktop.
patch to fix ng build with gcc 4.8
--- /usr/lib/gcc/x86_64-linux-gnu/4.8/include/mm_malloc.h
+++ /usr/lib/gcc/x86_64-linux-gnu/4.8/include/mm_malloc.h
@@ -32,6 +32,7 @@
extern int posix_memalign (void **, size_t, size_t);
#else
-extern "C" int posix_memalign (void **, size_t, size_t) throw ();
+extern "C" int posix_memalign (void **, size_t, size_t);
#endif
static __inline void *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment