[so] [Tema1][Windows] Warning-uri la compilare pentru strtok

Theodor Stoican theo.stoican at gmail.com
Mon Mar 6 15:38:35 EET 2017


Salutare,

Pe Windows, cand compilez, cl raporteaza cateva warning-uri de tipul :

"main.c(35) : warning C4996: 'strtok': This function or variable may be
unsafe. Consider using strtok_s instead. To disab
le deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details."

Ca solutie, folosim strtok_s sau adaugam flagul respectiv cand compilam?

Cele bune,
Theodor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20170306/41ed9843/attachment.html>


More information about the so mailing list