Skip to content

Change include order (fix #include_next is a GCC extension)#92

Open
kirschem-fernride wants to merge 1 commit intohexdae:masterfrom
kirschem-fernride:kirschem/fix-include-order
Open

Change include order (fix #include_next is a GCC extension)#92
kirschem-fernride wants to merge 1 commit intohexdae:masterfrom
kirschem-fernride:kirschem/fix-include-order

Conversation

@kirschem-fernride
Copy link

After #57 I faced the following issue with our build:

external/toolchains_arm_gnu++arm_toolchain+arm_none_eabi_linux_x86_64/arm-none-eabi/include/c++/13.2.1/stdlib.h:30:3: error: #include_next is a GCC extension [-Werror]

This fixes it, as the "correct" stdlib.h seems to be in top most include directory, which is scanned first with this PR.

I did not check yet why this is the case and how the two stdlibs differ exactly.

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