<div dir="auto">Buna,<div dir="auto"><br></div><div dir="auto"> In cazul in care raspunsul la intrebarea ta este negativ, ai putea implementa tu functia strdup ca sa scapi de warning. Eu asa am procedat.</div><div dir="auto"><br></div><div dir="auto">Spor!</div></div><div class="gmail_extra"><br><div class="gmail_quote">Pe 13 mar. 2018 13:16, "M. Alin via so" <<a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a>> a scris:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB"><div class="m_-4620790853850095016WordSection1"><p class="MsoNormal">Salut,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Din cauza ca folosesc functia strdup, primesc warning la compilare: “ warning C4996: ‘strdup’: The POSIX name for this item is deprecated. Instead use the ISO C++, conformant name : _<i>strdup. See online help for help for details”. Tin se precizez ca folosesc flag-ul /D</i>_CRT_SECURE_NO_DEPRECATE.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Am cautat online si am gasit ca pot sa folosesc flag-ul de compilare /D_CRT_NONSTDC_NO_DEPRECATE.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Avem voie sa folosim flag-ul acesta sau nu avem voie sa folosim strdup in tema?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Mihaila Alin<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>______________________________<wbr>_________________<br>
<a href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" rel="noreferrer" target="_blank">http://ocw.cs.pub.ro/courses/<wbr>so/info/lista-discutii</a><br></blockquote></div></div>