当我编译代码时,错误指向以下类。该错误在以下两行中突出显示: tm validFrom{}; tm validUntil{};
struct t_SslCertData final
{
struct t_Contact
{
TCHAR Organization[256];
TCHAR Unit[256];
TCHAR CommonName[256];
TCHAR Mail[256];
TCHAR Country[256];
TCHAR StateProvince[256];
TCHAR Town[256];
TCHAR Other[1024];
} subject, issuer;
//Below are the lines where compiler highlights the error
tm validFrom{};
tm validUntil{};
unsigned char hash[20];
int verificationResult;
int verificationDepth;
int priv_data; //Internal data, do not modify
};
最佳答案
我在共享代码中没有看到任何错误,您应该转到“设置”并更改优化设置(如果可以,请禁用它)。此错误偶尔会发生。
关于c++ - fatal error C1001 : An internal error has occurred in the compiler (compiler file 'msc1.cpp' , 第 1325 行),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31957921/