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;
}
}
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ