Skip to content

Remove -fcoroutines from INTERFACE_COMPILE_OPTIONS#40

Merged
otamachan merged 1 commit into
mainfrom
remove-fcoroutines-interface
Mar 21, 2026
Merged

Remove -fcoroutines from INTERFACE_COMPILE_OPTIONS#40
otamachan merged 1 commit into
mainfrom
remove-fcoroutines-interface

Conversation

@otamachan

Copy link
Copy Markdown
Owner

GCC 13.3 with -std=gnu++20 compiles coroutines without -fcoroutines, and GCC 14+ does not need it at all. Propagating it via INTERFACE pollutes compile_commands.json, causing clang-tidy to fail with "argument unused during compilation" in consumer packages.

GCC 13.3 with -std=gnu++20 compiles coroutines without -fcoroutines,
and GCC 14+ does not need it at all. Propagating it via INTERFACE
pollutes compile_commands.json, causing clang-tidy to fail with
"argument unused during compilation" in consumer packages.
@otamachan otamachan merged commit a2df14e into main Mar 21, 2026
2 checks passed
@otamachan otamachan deleted the remove-fcoroutines-interface branch March 21, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant