Bug#1057838: clang-17: c++ include dir from sysroot unexpectedly in include paths when in wasm c mode

2023-12-15 Thread Israel Galadima
On 15-Dec-23 3:24 PM, Faidon Liambotis wrote: Thanks, Sylvestre for the Cc and Israel for the bug report! On Fri, Dec 15, 2023 at 02:00:55PM +0100, Sylvestre Ledru wrote: The above lines are adding c++ include paths in the method (WebAssembly::AddClangSystemIncludeArgs) for adding only

Bug#1057838: clang-17: c++ include dir from sysroot unexpectedly in include paths when in wasm c mode

2023-12-15 Thread Faidon Liambotis
Thanks, Sylvestre for the Cc and Israel for the bug report! On Fri, Dec 15, 2023 at 02:00:55PM +0100, Sylvestre Ledru wrote: > > The above lines are adding c++ include paths in the > > method (WebAssembly::AddClangSystemIncludeArgs) > > for adding only system/c include paths. > > I think the c++

Bug#1057838: clang-17: c++ include dir from sysroot unexpectedly in include paths when in wasm c mode

2023-12-15 Thread Sylvestre Ledru
+Faidon Le 15/12/2023 à 13:15, Israel Galadima a écrit : Dear Maintainers, I have looked further into this and I think these lines in the patch file at debian/patches/wasm/wasm-sysroot-usr.diff are responsible. 40 +    if (!getDriver().SysRoot.empty()) { 41 +        // Second add the

Bug#1057838: clang-17: c++ include dir from sysroot unexpectedly in include paths when in wasm c mode

2023-12-15 Thread Israel Galadima
Dear Maintainers, I have looked further into this and I think these lines in the patch file at debian/patches/wasm/wasm-sysroot-usr.diff are responsible. 40 +    if (!getDriver().SysRoot.empty()) { 41 +        // Second add the generic one. 42 +        addSystemInclude(DriverArgs, CC1Args,

Bug#1057838: clang-17: c++ include dir from sysroot unexpectedly in include paths when in wasm c mode

2023-12-09 Thread Israel Galadima
Package: clang-17 Version: 1:17.0.6-1 Severity: important X-Debbugs-Cc: izzygalad...@gmail.com Dear Maintainer, When I checked the include paths for clang-17 in c mode with wasm target and sysroot, I saw the c++ include dir from the sysroot among the include paths. $ clang-17 -target