Fatal Error C1310: profile guided optimizations are not available with OpenMP
You will not be able to link with /LTCG:PGI any module that was compiled with /GL.
The following sample generates C1310:
// C1310.cpp
// compile with: /openmp /GL /link /LTCG:PGI
// C1310 expected
int main()
{
int i = 0, j = 10;
#pragma omp parallel
{
#pragma omp for
for (i = 0; i < 0; i++)
--j;
}
}
配置文件指导的优化不适用于OpenMP
您将无法与/ LTCG:PGI链接使用/ GL编译的任何模块。
以下示例生成C1310:
// C1310.cpp
// compile with: /openmp /GL /link /LTCG:PGI
// C1310 expected
int main()
{
int i = 0, j = 10;
#pragma omp parallel
{
#pragma omp for
for (i = 0; i < 0; i++)
--j;
}
}
Fatal Error C1311: COFF format cannot statically initialize 'var' with number byte(s) of an address
An address whose value is not known at compile time cannot be statically assigned to a variable whose type has storage of less than four bytes.
This error can occur on code that is otherwise valid C++.
The following example shows one condition that might cause C1311.
char c = (char)"Hello, world"; // C1311
char *d = (char*)"Hello, world"; // OK
COFF格式不能用地址的数字字节静态初始化'var'
在编译时不知道其值的地址不能静态分配给类型存储小于4字节的变量。
该错误可能发生在另外有效的C ++代码上。
以下示例显示了可能导致C1311的一个条件。
char c = (char)"Hello, world"; // C1311
char *d = (char*)"Hello, world"; // OK
Fatal Error C1312: Too many conditional branches in function. Simplify or refactor source code.
The code is too complex for the compiler to process without running out of stack memory. Simplify your code.
函数中条件分支过多。 简化或重构源代码。
代码太复杂,编译器无法处理堆栈内存。 简化您的代码。
Fatal Error C1313: compiler limit : type blocks may not be nested deeper than number levels
Exception handling (or structured exception handling) blocks were nested too deeply. Simplify your code.
编译器限制:类型块的嵌套深度不能超过数字级别
异常处理(或结构化异常处理)块嵌套得太深。 简化您的代码。
Fatal Error C1350: error loading dll 'dll': dll not found
The DLL that supports the attempted operation was not found.
This indicates a problem with your installation and you should reinstall the DLL from your product CD.
错误加载dll'dll':找不到dll
没有找到支持尝试操作的DLL。
这表明您的安装存在问题,您应该从产品CD重新安装DLL。
Fatal Error C1351: error loading dll 'dll': incompatible version
The wrong version of a DLL was found.
This indicates a problem with your installation and you should reinstall the DLL from your product CD.
错误加载DLL'DLL':不兼容的版本
找到了错误的DLL版本。
这表明您的安装存在问题,您应该从产品CD重新安装DLL。
Fatal Error C1352: Invalid or corrupt MSIL in function 'function' from module 'file'
A .netmodule was passed to the compiler, but the compiler detected corruption in the file. Ask the person who produced the .netmodule to investigate.
The compiler does not check .netmodule files for all types of corruption. It does, however, check that all control paths in a function contain a return statement.
For more information, see .netmodule Files as Linker Input.
函数'function'中的模块'file'中的MSIL无效或损坏
一个.netmodule被传递给编译器,但编译器检测到文件中有损坏。 询问产生.net模块的人进行调查。
编译器不会检查.netmodule文件是否存在所有类型的损坏。 但是,它会检查函数中的所有控制路径是否包含返回语句。
有关更多信息,请参阅.netmodule文件作为链接器输入。
Fatal Error C1353: metadata operation failed: runtime not installed or version mismatch
Reinstall your CLR or Visual Studio.
元数据操作失败:运行时未安装或版本不匹配
重新安装您的CLR或Visual Studio。
Fatal Error C1382: the PCH file 'file' has been rebuilt since 'obj' was generated. Please rebuild this object
When using /LTCG, the compiler detected a .pch file that is newer than a CIL .obj that points to it. The information in the CIL .obj file is out of date. Rebuild the object.
C1382 can also occur if you compile with /Yc, but also pass multiple source code files to the compiler. To resolve, do not use /Yc when passing multiple source code files to the compiler. For more information, see /Yc (Create Precompiled Header File).
自'obj'生成后,PCH文件'文件'已被重建。 请重建此对象
使用/ LTCG时,编译器检测到比指向它的CIL .obj更新的.pch文件。 CIL .obj文件中的信息已过时。 重建对象。
如果使用/ Yc进行编译,也可能发生C1382,但也会将多个源代码文件传递给编译器。 要解决这个问题,在将多个源代码文件传递给编译器时,请勿使用/ Yc。 有关更多信息,请参阅/ Yc(创建预编译头文件)。
Fatal Error C1383: compiler option /GL is incompatible with the installed version of common language runtime
C1383 occurs when you are using a previous version of the common language runtime with a newer compiler, and when you compile with /clr and /GL.
To resolve, either do not use /GL with /clr or install the version of the common language runtime that shipped with your compiler.
For more information, see /clr (Common Language Runtime Compilation) and /GL (Whole Program Optimization).
编译器选项/ GL与公共语言运行库的安装版本不兼容
当您使用较新版本的公共语言运行时,以及使用/ clr和/ GL进行编译时,会发生C1383。
要解决此问题,请不要将/ GL与/ clr一起使用,也不要安装编译器附带的公共语言运行时版本。
有关更多信息,请参阅/ clr(公共语言运行时编译)和/ GL(整体程序优化)。
Fatal Error C1506: unrecoverable block scoping error
The block was too large to compile.
To fix by checking the following possible causes
1.Mismatched braces
2.Unusually large function or class
无法恢复的块范围确定错误
该块太大而无法编译。
通过检查以下可能的原因来解决问题
1.不匹配的大括号
2.非常大的功能或类
Fatal Error C1508: compiler limit : 'function' : more than 65535 argument bytes
The formal parameters to the function exceed the limit of 65535 bytes.
编译器限制:'function':超过65535个参数字节
该函数的形式参数超过了65535字节的限制。
You will not be able to link with /LTCG:PGI any module that was compiled with /GL.
The following sample generates C1310:
// C1310.cpp
// compile with: /openmp /GL /link /LTCG:PGI
// C1310 expected
int main()
{
int i = 0, j = 10;
#pragma omp parallel
{
#pragma omp for
for (i = 0; i < 0; i++)
--j;
}
}
配置文件指导的优化不适用于OpenMP
您将无法与/ LTCG:PGI链接使用/ GL编译的任何模块。
以下示例生成C1310:
// C1310.cpp
// compile with: /openmp /GL /link /LTCG:PGI
// C1310 expected
int main()
{
int i = 0, j = 10;
#pragma omp parallel
{
#pragma omp for
for (i = 0; i < 0; i++)
--j;
}
}
Fatal Error C1311: COFF format cannot statically initialize 'var' with number byte(s) of an address
An address whose value is not known at compile time cannot be statically assigned to a variable whose type has storage of less than four bytes.
This error can occur on code that is otherwise valid C++.
The following example shows one condition that might cause C1311.
char c = (char)"Hello, world"; // C1311
char *d = (char*)"Hello, world"; // OK
COFF格式不能用地址的数字字节静态初始化'var'
在编译时不知道其值的地址不能静态分配给类型存储小于4字节的变量。
该错误可能发生在另外有效的C ++代码上。
以下示例显示了可能导致C1311的一个条件。
char c = (char)"Hello, world"; // C1311
char *d = (char*)"Hello, world"; // OK
Fatal Error C1312: Too many conditional branches in function. Simplify or refactor source code.
The code is too complex for the compiler to process without running out of stack memory. Simplify your code.
函数中条件分支过多。 简化或重构源代码。
代码太复杂,编译器无法处理堆栈内存。 简化您的代码。
Fatal Error C1313: compiler limit : type blocks may not be nested deeper than number levels
Exception handling (or structured exception handling) blocks were nested too deeply. Simplify your code.
编译器限制:类型块的嵌套深度不能超过数字级别
异常处理(或结构化异常处理)块嵌套得太深。 简化您的代码。
Fatal Error C1350: error loading dll 'dll': dll not found
The DLL that supports the attempted operation was not found.
This indicates a problem with your installation and you should reinstall the DLL from your product CD.
错误加载dll'dll':找不到dll
没有找到支持尝试操作的DLL。
这表明您的安装存在问题,您应该从产品CD重新安装DLL。
Fatal Error C1351: error loading dll 'dll': incompatible version
The wrong version of a DLL was found.
This indicates a problem with your installation and you should reinstall the DLL from your product CD.
错误加载DLL'DLL':不兼容的版本
找到了错误的DLL版本。
这表明您的安装存在问题,您应该从产品CD重新安装DLL。
Fatal Error C1352: Invalid or corrupt MSIL in function 'function' from module 'file'
A .netmodule was passed to the compiler, but the compiler detected corruption in the file. Ask the person who produced the .netmodule to investigate.
The compiler does not check .netmodule files for all types of corruption. It does, however, check that all control paths in a function contain a return statement.
For more information, see .netmodule Files as Linker Input.
函数'function'中的模块'file'中的MSIL无效或损坏
一个.netmodule被传递给编译器,但编译器检测到文件中有损坏。 询问产生.net模块的人进行调查。
编译器不会检查.netmodule文件是否存在所有类型的损坏。 但是,它会检查函数中的所有控制路径是否包含返回语句。
有关更多信息,请参阅.netmodule文件作为链接器输入。
Fatal Error C1353: metadata operation failed: runtime not installed or version mismatch
Reinstall your CLR or Visual Studio.
元数据操作失败:运行时未安装或版本不匹配
重新安装您的CLR或Visual Studio。
Fatal Error C1382: the PCH file 'file' has been rebuilt since 'obj' was generated. Please rebuild this object
When using /LTCG, the compiler detected a .pch file that is newer than a CIL .obj that points to it. The information in the CIL .obj file is out of date. Rebuild the object.
C1382 can also occur if you compile with /Yc, but also pass multiple source code files to the compiler. To resolve, do not use /Yc when passing multiple source code files to the compiler. For more information, see /Yc (Create Precompiled Header File).
自'obj'生成后,PCH文件'文件'已被重建。 请重建此对象
使用/ LTCG时,编译器检测到比指向它的CIL .obj更新的.pch文件。 CIL .obj文件中的信息已过时。 重建对象。
如果使用/ Yc进行编译,也可能发生C1382,但也会将多个源代码文件传递给编译器。 要解决这个问题,在将多个源代码文件传递给编译器时,请勿使用/ Yc。 有关更多信息,请参阅/ Yc(创建预编译头文件)。
Fatal Error C1383: compiler option /GL is incompatible with the installed version of common language runtime
C1383 occurs when you are using a previous version of the common language runtime with a newer compiler, and when you compile with /clr and /GL.
To resolve, either do not use /GL with /clr or install the version of the common language runtime that shipped with your compiler.
For more information, see /clr (Common Language Runtime Compilation) and /GL (Whole Program Optimization).
编译器选项/ GL与公共语言运行库的安装版本不兼容
当您使用较新版本的公共语言运行时,以及使用/ clr和/ GL进行编译时,会发生C1383。
要解决此问题,请不要将/ GL与/ clr一起使用,也不要安装编译器附带的公共语言运行时版本。
有关更多信息,请参阅/ clr(公共语言运行时编译)和/ GL(整体程序优化)。
Fatal Error C1506: unrecoverable block scoping error
The block was too large to compile.
To fix by checking the following possible causes
1.Mismatched braces
2.Unusually large function or class
无法恢复的块范围确定错误
该块太大而无法编译。
通过检查以下可能的原因来解决问题
1.不匹配的大括号
2.非常大的功能或类
Fatal Error C1508: compiler limit : 'function' : more than 65535 argument bytes
The formal parameters to the function exceed the limit of 65535 bytes.
编译器限制:'function':超过65535个参数字节
该函数的形式参数超过了65535字节的限制。