gcc 10.3.0 says "__VA_OPT__ is not available until C++2a"
This commit is contained in:
parent
d99b10acb7
commit
605421f4eb
@ -126,6 +126,12 @@
|
||||
#if ! defined(HAVE_VA_ARGS_MACRO)
|
||||
# undef HAVE___VA_OPT__
|
||||
|
||||
#elif defined(__cplusplus)
|
||||
# if __cplusplus > 201703L
|
||||
# define HAVE___VA_OPT__
|
||||
# else
|
||||
# undef HAVE___VA_OPT__
|
||||
# endif
|
||||
#else
|
||||
# /* Idea taken from: https://stackoverflow.com/a/48045656 */
|
||||
# define RBIMPL_TEST3(q, w, e, ...) e
|
||||
|
Loading…
x
Reference in New Issue
Block a user