Hi, in UFO:AI there is a commit (a542a87) for handling the function name changes in binutils which does things like this:
# define bfd_get_section_flags(bfd, section) (bfd_section_flags(section))
Now the weird thing is that it doesn't work on my system (with GCC 10.2.0). In particular it works if the tab is before the pound but if the tab is after the pound then GCC will insist that the function is not defined. The syntax is correct (see the GCC online docs under section "The-preprocessing-language", I can't post links).
Is it just me or does anyone else see the same problem? If it's a wider toolchain issue I'll need to investigate or at least report it. If I'm just doing something stupid in my setup, I'd like to know as well. Also if it's a widespread problem then even if the problem isn't UFO:AI's it might be good to add a workaround.