rust-demangle.c and uint

Tom Kacvinsky tkacvins@gmail.com
Tue Sep 21 17:57:17 GMT 2021


I see rust-demangle.c (in binutils 2.37) uses uint for some code.
This causes problems on MinGW-w64 builds of that version.

The most current version of the MinGW-w64 package for MSYS2
uses GCC 10.x.  Interestingly enough, the MinGW-w64 developers
must have  fixed this as the current binutils I have for my MSYS2 kit
is 2.37.  I don't know if they upstreamed that fix or not.

In any case, I "fixed" it by changing uint to unsigned int.  Not sure if
that is a fix that is desirable or not.

Regards,

Tom


More information about the Binutils mailing list