You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a compile error while compiling libspf2 1.2.10 with gcc 5.2.1 on
Linux. The issue is that it does not like C99-style variadic macros that do not
expand to at least one argument. For example:
spf_dns.c: In function 'SPF_dns_debug_post':
../../src/include/spf_log.h:66:86: error: expected expression before ')' token
#define SPF_debugf(format, ... ) SPF_debugx( FILE, LINE, format, VA_ARGS )
due to:
SPF_debugf(" - Unknown RR type");
The attached patch fixes the problem for gcc and should be fully portable elsewhere.
I encountered a compile error while compiling libspf2 1.2.10 with gcc 5.2.1 on
Linux. The issue is that it does not like C99-style variadic macros that do not
expand to at least one argument. For example:
spf_dns.c: In function 'SPF_dns_debug_post':
../../src/include/spf_log.h:66:86: error: expected expression before ')' token
#define SPF_debugf(format, ... ) SPF_debugx( FILE, LINE, format, VA_ARGS )
due to:
SPF_debugf(" - Unknown RR type");
The attached patch fixes the problem for gcc and should be fully portable elsewhere.
libspf2-1.2.10-mga-varargs.patch
The text was updated successfully, but these errors were encountered: