project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - IHatePickingUserNames

Pages: [1]
1
Bugs in development version (2.6-dev) / Language editing (English)
« on: January 01, 2021, 03:03:07 pm »
Hi, I've been working on a new .po when I noticed this one in the source document:

"Research prerequisites of %s do not met at %s. Research halted!"

In case you didn't see it immediately, there's an unwanted "do". It occurs twice in client/cgame/campaign/cp_research.cpp

Edit: Oh, and a happy new year to you as well.

2
Coding / Missing bfd_get_section macros
« on: December 22, 2020, 04:04:32 pm »
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.

Pages: [1]