Hi Hossein, *, On Sat, Jun 13, 2026 at 5:52 PM Hossein Nourikhah <[email protected]> wrote: > The latest Visual Studio 2026 release is version 18.7.0, which is > released a few days ago: > > Update 18.7.0, June 9, 2026 > https://learn.microsoft.com/en-us/visualstudio/releases/2026/release-notes#june-update-1870 > > When I tried to build LibreOffice with this version, the configuration > phase could not complete. I got the error message: > > $ ./autogen.sh: > ... > checking for clang-cl... no > checking the dependency generation prefix (clang.exe -showIncludes)... > configure: error: cannot determine the -showIncludes prefix > […] > This is the relevant function in configure.ac around line 4900, which > uses a regex: > […] > echo "#include <stdlib.h>" > conftest.c > SHOWINCLUDES_PREFIX=`VSLANG=1033 $CC $CFLAGS -c -showIncludes > conftest.c 2>/dev/null | \ > grep 'stdlib\.h' | head -n1 | sed 's/ [[[:alpha:]]]:.*//'` > rm -f conftest.c conftest.obj > if test -z "$SHOWINCLUDES_PREFIX"; then > AC_MSG_ERROR([cannot determine the -showIncludes prefix]) > else > AC_MSG_RESULT(["$SHOWINCLUDES_PREFIX"]) > fi > fi > AC_SUBST(SHOWINCLUDES_PREFIX) > > I can guess that the output in the compiler is changed, and we should > change configure.ac to be able to handle that.
You can stick in an additiona AC_MSG_ERROR or similar printing the output of the test-command/run it manually to see what it does report and see why the grep|sed fails. Since the showinclude prefix is localized, it might also be that that is what's different and not an overall change with the new compiler. But knowing what it outputs now will allow to fix it, so please just let configure print the variable/run the simple check manually to see what output it produces. (and depending on what the prefix is the helper scripts also might need updating) ciao Christian
