Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
LTCG clr modules found, incompatible with /LTCG:parameter
Remarks
A module compiled with /clr and /GL was passed to the linker along with one of the profile guided optimizations (PGO) parameters of /LTCG.
Profile guided optimizations are not supported for /clr modules.
For more information, see:
To correct this error
- Do not compile with /clr or do not link with one of the PGO parameters to /LTCG.
Example
The following example generates LNK1301:
// LNK1301.cpp
// compile with: /clr /GL /link /LTCG:PGI LNK1301.obj
// LNK1301 expected
class MyClass {
public:
int i;
};