Hi,
On 2022-01-24 08:41:39 -0800, samay sharma wrote:
> I've also attached the test.i file.
The problem is that you got a stdint.h in /usr/local/include/. And that
stdint.h doesn't match the system one. Which explains why there's a
compilation failure and also explains why others don't see this problem.
from test.i
> # 1 "/usr/local/include/stdint.h" 1 3 4
>
> #define _ISL_INCLUDE_ISL_STDINT_H 1
>
> #define _GENERATED_STDINT_H "isl 0.14.1"
>
> #define _STDINT_HAVE_STDINT_H 1
>
> # 1 "/usr/local/include/stdint.h" 1 3 4
> # 8 "/usr/local/include/stdint.h" 2 3 4
> # 73 "/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/sys/resource.h" 2 3 4
Greetings,
Andres Freund