Closed aytey closed 2 years ago
The reason for this error is that __builtin_va_arg
the va_arg
macro (builtin) implementation, but Psyche-C is parsing it as a regular function which, in turn, can't accept a type (i.e., long
) as value argument.
I'll implementing handling for those builtins.
Fixed with https://github.com/ltcmelo/psychec/pull/64.
GCC version:
clang version:
Output of
gcc -Werror -Wall -Wextra -Wpedantic -pedantic -std=c11 -c $FNAME
Output of
clang -Werror -Wall -Wextra -Wpedantic -pedantic -std=c11 -c $FNAME
Output of
cnip $FNAME
Content of file
psychec
version