https://llvm.org/bugs/show_bug.cgi?id=28089

            Bug ID: 28089
           Summary: Short 8.3 paths make clang++ run in C mode, linking
                    without C++ libraries
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: jibz-llvmb...@stdip.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Clang decides if it is being invoked as a C or C++ compiler based on its
filename.

When installed as `C:\Program Files\LLVM\bin\clang++.exe` on Windows,
the space in the path results in some build systems invoking it with the
short 8.3 path `C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE`, and failing to link
because clang++ thinks it is clang and does not include the C++ libraries.

One example is CMake: https://gitlab.kitware.com/cmake/cmake/issues/16138

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to