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
QUIET
__GNUC__
The macro is only defined on gcc or clang:
toybox/lib/portability.h
Lines 44 to 54 in 9cde583
For a compiler that doesn't define __GNUC__, it will be undefined when encountered here:
toybox/lib/net.c
Line 184 in 9cde583
Adding a dummy define here could be a fix.
diff --git a/lib/portability.h b/lib/portability.h index 0b9e282..49cee36 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -50,6 +50,7 @@ #endif #define printf_format __attribute__((format(printf, 1, 2))) #else +#define QUIET #define printf_format #endif
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The macro is only defined on gcc or clang:
toybox/lib/portability.h
Lines 44 to 54 in 9cde583
For a compiler that doesn't define
__GNUC__
, it will be undefined when encountered here:toybox/lib/net.c
Line 184 in 9cde583
Adding a dummy define here could be a fix.
The text was updated successfully, but these errors were encountered: