Project

General

Profile

Actions

Bug #2075

open

Ruledit build failure with nonls, g++-16

Added by Marko Lindqvist 12 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Qt-client
Target version:
Start date:
07/04/2026
Due date:
% Done:

0%

Estimated time:

Description

Ruledit build on Manjaro fails when configured nls disabled. Version of g++ is 16.

In file included from /usr/include/features.h:540,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/limits.h:26,
from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/limits.h:210,
from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/syslimits.h:9,
from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/limits.h:34,
from /usr/include/zconf.h:430,
from /usr/include/zlib.h:37,
from ../../../../src/utility/fc_prehdrs.h:39,
from ../../../../src/tools/ruledit/ruledit.cpp:18:
/usr/include/libintl.h:82:52: error: expected unqualified-id before ‘noexcept’
82 | extern char *textdomain (const char *__domainname) __THROW; | ^~~~~
/usr/include/libintl.h:87:53: error: expected unqualified-id before ‘noexcept’
87 | const char *__dirname) __THROW; | ^~~~~


I still don't fully understand what happens, but the failure seems to be some kind of incompatibility between Qt headers, and system headers of g++16, and freeciv configuration with nls disabled.


Related issues 1 (1 open0 closed)

Blocked by Feature #2074: show_experimental() to ruledit_qt.cppIn ReviewMarko Lindqvist07/04/2026

Actions
Actions

Also available in: Atom PDF