VS2022 mit LLVM -Clang, der die statische CPP -LIB nicht kompiliert kannC++

Programme in C++. Entwicklerforum
Anonymous
 VS2022 mit LLVM -Clang, der die statische CPP -LIB nicht kompiliert kann

Post by Anonymous »

Ich versuche, mein statisches LIB -Projekt von VS 2017 auf VS 2022 zu verbessern. In meinem Projekt habe ich nur eine Klasse. < /P>

Code: Select all

class MyClass
{
private:
int count;
static int data;
public:
MyClass();
virtual ~MyClass();
};
< /code>
Projekt erstellt erfolgreich mit VS 2017 & VS 2022, aber Moment, in dem ich es in "llvm (clang-cl)" ändere, erhalte ich Fehler "Fehler MSB6006" LLVM-lib.exe ". beendet mit Code 1 ". -c-static-li/1218106 "Ich habe LTCG in" no "
geändert, selbst dann existiert das Problem. > Mit Grüßen>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post