<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=RO link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Salut!<br>La compilare, am folosit urmatoarele flag-uri:<br>CFLAGS = /nologo /Wall /D_CRT_SECURE_NO_DEPRECATE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Ultimul dintre ele este tocmai pentru a scapa de acele warning-uri. Am urmat sfaturile de aici [0] ca sa ajung la aceasta solutie.<br>Bafta!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>[0] https://ocw.cs.pub.ro/courses/so/teme/general#build</span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>From: </b><a href="mailto:so@cursuri.cs.pub.ro">Birlea Costin via so</a><br><b>Sent: </b>marți, 6 martie 2018 01:35<br><b>To: </b><a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br><b>Subject: </b>[so] [Tema1][Windows] Warning-uri la compilare</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Buna seara!</p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Am niste nelamuriri legate de warning-urile primite la compilare in windows. Warning-urile specifica ca se prefera folosirea variantelor secure a functiilor precum fopen sau strcpy, fopen_s respectiv strcpy_s.</p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Intrucat gcc nu are aceste variante secure ale functiilor, nu imi este clar ce ar trebui sa fac pentru impacarea ambelor compilatoare sau daca aceasta este o problema care poate duce la depunctare.</p></div></div><p class=MsoNormal>Multumesc!</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>