[so] [SO] [Tema1] Warning compilare Windows
Alin-Florin MIHĂILĂ (78732)
alin_florin.mihaila at stud.acs.upb.ro
Tue Mar 13 11:25:15 EET 2018
Salut,
Din cauza ca folosesc functie strdup primesc warning la compilare: “ warning C4996: ‘strdup’: The POSIX name for this item is deprecated. Instead use the ISO C++, conformant name : _strdup. See online help for help for details”. Tin se precizez ca folosesc flag-ul /D_CRT_SECURE_NO_DEPRECATE.
Am cautat online si am gasit ca pot sa folosesc flag-ul de compilare /D_CRT_NONSTDC_NO_DEPRECATE.
Avem voie sa folosim flag-ul acesta sau nu avem voie sa folosim strdup in tema?
Mihaila Alin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20180313/76b116d6/attachment.html>
More information about the so
mailing list