Skip to content

Instantly share code, notes, and snippets.

@bent-rasmussen
Last active January 4, 2022 11:14
Show Gist options
  • Save bent-rasmussen/1c097216035be10ad5bcd64d5aa86aa3 to your computer and use it in GitHub Desktop.
Save bent-rasmussen/1c097216035be10ad5bcd64d5aa86aa3 to your computer and use it in GitHub Desktop.
Compile-time error on contradictive conditional compilation symbols
// Compile-time error on contradictive conditional compilation symbols.
// Make conditional compilation symbols form a discriminated union.
#if (SITE_DEV && SITE_TEST)
§"Contradictive conditional compilation symbols"
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment