We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something like:
void *memcpy(void *d, const void *s, size_t __n) { if (__builtin_constant_p(__n) && __n > __bos(od)) { compile-time-error! } }
Apparently, the trick everyone is using to make the compiler choke is this one:
#define __errordecl(name, msg) extern void name(void) __attribute__((__error__(msg))) #define __warnattr(msg) __attribute__((__warning__(msg)))
This should be used only when warning_if isn't supported.
warning_if
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Something like:
Apparently, the trick everyone is using to make the compiler choke is this one:
This should be used only when
warning_if
isn't supported.The text was updated successfully, but these errors were encountered: