Home > Back-end >  17 C standard under vc2019 trigger STRNCMP compiler error, 14 is OK, who is a good solution
17 C standard under vc2019 trigger STRNCMP compiler error, 14 is OK, who is a good solution

Time:10-07

Under the vc2019 configuration support c + + 17 I compile standard, the results reported this error,
Similar to: error C2039 STRNCMP ctypeSuch a mistake,

I can't find my CLCL shear tools more historical information, so the complete error message I can't find it,

Method searched Google, try some, it is make uncertain,

But I changed to use 14 c + + standard, this mistake will not quote,

Feel vc support for c + + standard in terms of tools is not enough, seems to be a vc to use some of the libraries, and the conflict,

Why to use 17 standard, because in the 17 STD: : filesystem, this I am going to work, don't want to use that a vc, lest the future migration to Linux on the code also rewritten,

CodePudding user response:

Write directly on Linux bai, should be vs2019 does not support c + + 17
  • Related