致命错误C1001:编译器发生内部错误(编译器文件'msc1.cpp',第1325行)

时间:2022-08-03 20:22:29

When i compiled the code the error pointing to the following class . The error is higlighted on two lines as below : tm validFrom{}; tm validUntil{};

当我编译代码时,错误指向下面的类。错误在两行上突出显示如下: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
};

1 个解决方案

#1


3  

i don't see any errors in shared code, you should go to "Settings" and change the optimization settings (disable it, if you can). This error occurs once in a while.

我没有看到共享代码中的任何错误,您应该转到“设置”并更改优化设置(如果可以,请禁用它)。偶尔会发生此错误。

#1


3  

i don't see any errors in shared code, you should go to "Settings" and change the optimization settings (disable it, if you can). This error occurs once in a while.

我没有看到共享代码中的任何错误,您应该转到“设置”并更改优化设置(如果可以,请禁用它)。偶尔会发生此错误。