The following statement will report syntax error: ‘constant’.
static
const
DimCheckMode
STRICT =
V1LayerParameter_ DimCheckMode_ STRICT
;
static
const
DimCheckMode
PERMISSIVE =
V1LayerParameter_ DimCheckMode_ PERMISSIVE
Troubleshooting method: add “before” strict “and” permissive “, That is to say, if you change the name, it can be integrated into MFC.