<div>Verifica daca ai inclus header-ul necesar.</div>
<div> </div>
<div><a href="http://linux.die.net/man/3/posix_memalign">http://linux.die.net/man/3/posix_memalign</a></div>
<div> </div>
<div>"Everybody agrees that <b><span class="highlight0"><font style="BACKGROUND-COLOR: #ffffcc">posix_memalign</font></span></b>() is declared in <<a href="http://linux.die.net/include/stdlib.h" rel="nofollow"><font color="#660000">stdlib.h</font></a>>. In order to declare it, glibc needs _GNU_SOURCE defined, or _XOPEN_SOURCE defined to a value not less than 600."<br>
<br></div>
<div class="gmail_quote">2008/2/1 Alexandru-Mihai Carp <<a href="mailto:carpalex@gmail.com">carpalex@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Salut,<br><br>La tema 5, imi apare urmatorul mesaj pe site:<br><br>-1: compilarea a produs 1 warning-uri<br>
<br><br>iar mai jos:<br><br>tema5.c:350: warning: implicit declaration of function "posix_memalign"<br><br><br>Asta inseamna ca mi se va scadea un punct din cauza acelui warning?<br><br>Oricum, cand compilez pe sistemul meu, nu primesc warning nici macar cu<br>
-Wextra. Am folosit functia "posix_memalign", pentru ca in pagina de<br>manual scria ca functia "memalign" este obsolete.<br><br>_______________________________________________<br>so mailing list<br><a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br>
<a href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br></blockquote></div><br>