Skip to content

Instantly share code, notes, and snippets.

@DavidJRobertson
Created October 20, 2016 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidJRobertson/b33f6278649991dfb8ffe0dd61745b20 to your computer and use it in GitHub Desktop.
Save DavidJRobertson/b33f6278649991dfb8ffe0dd61745b20 to your computer and use it in GitHub Desktop.
GCC- error if not using c99
#if __STDC_VERSION__ < 199001L
#error DEAR MARKER: This program must be compiled in C99 mode - see instructions in report (-std=c99)
#endif
@DavidJRobertson
Copy link
Author

[Won't work with clang, but works perfectly with gcc]

@sbeanie
Copy link

sbeanie commented Oct 20, 2016

We're required to compile with gcc so shouldn't be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment