Analyzer tests fail on windows
NightStrike
nightstrike@gmail.com
Mon Aug 23 19:52:47 GMT 2021
David,
Many of the analyzer tests fail on windows because they hardcode in the
typedef of size_t to be unsigned long. This is not a platform independent
definition, though, and is wrong for 64 bit windows. This causes extra
warnings that all of the functions using size_t arguments are wrong,
because they need to be unsigned long long.
Is their either 1) a built in type you can use, like __SIZE_T__ if that's
such a thing, or 2) can you just include stddef.h instead of manually
putting the typedef at the top of each test?
More information about the Gcc
mailing list