Skip to content

In C++ mode do not warn about inline combined with noinline [GH #183] - #251

Open
mborland wants to merge 3 commits into
edgcpp:mainfrom
mborland:fix/183
Open

mborland wants to merge 3 commits into
edgcpp:mainfrom
mborland:fix/183

Conversation

@mborland

@mborland mborland commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

In GCC when using C++ you are allowed to combine inline and no inline without warning, which is a common idiom in Boost. In plain C mode GCC warns. This PR changes to match the GCC behavior or not warning in C++ mode, as previously it warned in both.

Closes: #183

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.

inline + noinline warns although GCC does not

1 participant