Home > Back-end >  Good PCL1.8.1 VS2017 configuration
Good PCL1.8.1 VS2017 configuration

Time:11-05

Access point cloud is always appear this error error C4996: 'STD: : fpos<_Mbstatet & gt; : : seekpos' : warning STL4019, tried various methods error online disappear, then appear, not solve the great god

CodePudding user response:

In C/C + + - & gt; The preprocessor - & gt; The preprocessor definitions to add:

_CRT_SECURE_NO_WARNINGS
_SCL_SECURE_NO_WARNINGS
_SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING

CodePudding user response:

reference 1st floor as a reply:
in C/C + + - & gt; The preprocessor - & gt; The preprocessor definitions to add:

_CRT_SECURE_NO_WARNINGS
_SCL_SECURE_NO_WARNINGS
_SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING

I have not tried this method, the last is deleted a vtkc++ _gd. Lib this dependency

CodePudding user response:

refer to the second floor weixin_44799873 response:
Quote: refer to 1st floor as a reply:
in C/C + + - & gt; The preprocessor - & gt; The preprocessor definitions to add:

_CRT_SECURE_NO_WARNINGS
_SCL_SECURE_NO_WARNINGS
_SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING

I have not tried this method, the last is deleted a vtkc++ _gd. Lib this dependency

Brother, I didn't see the zha?
I debug is no problem, but release the problem occurs,

CodePudding user response:

Can before the program began a header file with one line:
# pragma warning (4996) disable:

Can also according to the diagram to add these three lines in the preprocessor definitions:
_SCL_SECURE_NO_WARNINGS
_CRT_SECURE_NO_WARNINGS
_SILENCE_FPOS_SEEKPOS_DEPRECATION_WARNING

Pro measurement is valid
  • Related