You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems to be the same bug as #7654, but in C++ and only for directories passed with is_system: true - they end up being passed to the compiler in reversed order.
The text was updated successfully, but these errors were encountered:
mkow
changed the title
Bad order of include directories for C++ when using -isystem
Bad order of include directories for C++ when using is_system: trueMay 15, 2022
Describe the bug
Seems to be the same bug as #7654, but in C++ and only for directories passed with
is_system: true
- they end up being passed to the compiler in reversed order.To Reproduce
Compiling this project results in the following compiler invocation: (note the system includes)
ccache c++ -Ilibsome-project-name.so.p -I. -I.. -I/A -I/B -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++14 -O0 -g -fPIC -isystem/E -isystem/D -isystem/C -MD -MQ libsome-project-name.so.p/main.cpp.o -MF libsome-project-name.so.p/main.cpp.o.d -o libsome-project-name.so.p/main.cpp.o -c ../main.cpp
Expected behavior
System headers should be specified in the same order as provided in
include_directories
.system parameters
meson setup build/; meson compile -C build/
)meson --version
: 0.62.1ninja --version
: 1.10.0The text was updated successfully, but these errors were encountered: