__curl_rule_01__ is declared as an array with negative size
1 answer
Well obviously you need to make sure what CURL_SIZEOF_LONG
is defined as sizeof(long)
(or the equivalent of an integer literal, perhaps 8
) wherever it is defined. You are probably trying a #include
header that still thinks you are on 32 bit ARM.
The negative-sized array trick is a very common modeling trick static_assert
in C and C ++ - until 2011. Look in the source code for a definition CurlchkszEQ
if you want to know how it works in this particular case.
+1
source to share