[Bug 296473] devel/qt6-base: does not compile on recent CURRENT (1600019)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jul 7 14:01:09 BST 2026
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296473
--- Comment #4 from florian.millet at laposte.net ---
unfortunately even with your patch it still does not build with a FreeBSD
16.0-CURRENT at revision main-n286766-c27779e0a954
I still have :
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/forkfd_qt.c:16:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/../../3rdparty/forkfd/forkfd.c:170:39:
warning: call to undeclared function 'ATOMIC_VAR_INIT'; ISO C99 and later do
not support implicit function declarations [-Wimplicit-function-declaration]
170 | static ffd_atomic_int forkfd_status = FFD_ATOMIC_INIT(0);
| ^
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/../../3rdparty/forkfd/forkfd_c11.h:54:37:
note: expanded from macro 'FFD_ATOMIC_INIT'
54 | #define FFD_ATOMIC_INIT(val) ATOMIC_VAR_INIT(val)
| ^
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/forkfd_qt.c:16:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/../../3rdparty/forkfd/forkfd.c:170:39:
error: initializer element is not a compile-time constant
170 | static ffd_atomic_int forkfd_status = FFD_ATOMIC_INIT(0);
| ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/../../3rdparty/forkfd/forkfd_c11.h:54:37:
note: expanded from macro 'FFD_ATOMIC_INIT'
54 | #define FFD_ATOMIC_INIT(val) ATOMIC_VAR_INIT(val)
| ^~~~~~~~~~~~~~~~~~~~
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/forkfd_qt.c:16:
In file included from
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/../../3rdparty/forkfd/forkfd.c:938:
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/../../3rdparty/forkfd/forkfd_freebsd.c:45:45:
error: initializer element is not a compile-time constant
45 | static ffd_atomic_int system_forkfd_state = FFD_ATOMIC_INIT(1);
| ^~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/qt6-base/work/qtbase-everywhere-src-6.11.1/src/corelib/io/../../3rdparty/forkfd/forkfd_c11.h:54:37:
note: expanded from macro 'FFD_ATOMIC_INIT'
54 | #define FFD_ATOMIC_INIT(val) ATOMIC_VAR_INIT(val)
| ^~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list