On Sat, Sep 11, 2021 at 2:49 PM Fabio Valentini decathorpe@gmail.com wrote:
Take this with a grain of salt, I'm certainly not an expert when it comes to C++. Though I think I might have found the issue in the ncurses header files. Comparing the contents of ncurses-devel between f34 (which builds fine) and f35/rawhide (which doesn't), particularly the /usr/include/ncurses_dll.h file, where those definitions seem to live:
- NCURSES_IMPEXP is actually defined to a sensible value on f34
- NCURSES_IMPEXP is defined to be NCURSES_EXPORT_GENERAL_EXPORT on f35+
- NCURSES_EXPORT_GENERAL_EXPORT looks like it might not be properly
defined, or at least, defined *after* it is used in the definition of NCURSES_IMPEXP
This might be a bug in the development snapshot of ncurses that we seem to be shipping?
No, that's fine. Macros are expanded lazily, so you can define them in any order, so long as they are all defined before being used.