Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#75383 - [libdispatch] dispatch.h incompatible with GCC
Attached to Project:
Community Packages
Opened by Jean-Michaƫl Celerier (jcelerier) - Wednesday, 20 July 2022, 18:19 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 12 March 2023, 07:41 GMT
Opened by Jean-Michaƫl Celerier (jcelerier) - Wednesday, 20 July 2022, 18:19 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 12 March 2023, 07:41 GMT
|
DetailsVersions:
gcc 12.1.0-2 libdispatch 5.5.0-1.1 Repro: $ echo '#include <dispatch/dispatch.h>' > foo.cpp $ g++ foo.cpp gives the following error: In file included from /usr/include/dispatch/dispatch.h:32, from foo.cpp:1: /usr/include/os/generic_unix_base.h:58:18: error: missing binary operator before token "(" 58 | #if __has_feature(assume_nonnull) | ^ /usr/include/os/generic_unix_base.h:72:18: error: missing binary operator before token "(" 72 | #if __has_feature(attribute_availability_swift) | ^ /usr/include/os/generic_unix_base.h:97:18: error: missing binary operator before token "(" 97 | #if __has_feature(objc_fixed_enum) || __has_extension(cxx_strong_enums) | ^ Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 12 March 2023, 07:41 GMT
Reason for closing: Upstream
Sunday, 12 March 2023, 07:41 GMT
Reason for closing: Upstream
[1] https://github.com/bangnoise/ofxHapPlayer/issues/66
[2] https://github.com/apple/swift-corelibs-libdispatch/issues/765