Skip to content

Instantly share code, notes, and snippets.

@Miouyouyou
Created July 17, 2020 03:47
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 Miouyouyou/387d513177b598eda6b25648aa4e9aa4 to your computer and use it in GitHub Desktop.
Save Miouyouyou/387d513177b598eda6b25648aa4e9aa4 to your computer and use it in GitHub Desktop.
GCC pragma error
#define GPIO_BLARGH _Pragma("GCC error \"This is not the GPIO you're looking for\"") 0
#define GPIO_0 GPIO_BLARGH
int main() { return GPIO_0; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment