description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Fatal Error C1190 |
Fatal Error C1190 |
11/04/2016 |
|
|
dee2266d-6c40-4f6e-91db-f01e65f8d2bc |
managed targeted code requires a '/clr' option
You are using CLR constructs but you did not specify /clr.
For more information, see /clr (Common Language Runtime Compilation).
The following sample generates C1190:
// C1190.cpp
// compile with: /c
__gc class A {}; // C1190
ref class A {};