<p dir="ltr">Usually this means, that you (in the code) forgot to include a header for (in this case) "sym_forget()" system function, but the compiler recognised which header you forgot to include and got it covered for you. This its only a warning and you can ignore it but should consider this to fix this in your code for higher compatibility with the c language and to avoid errors caused by this, like it didn't imported the right header for instance.<br>
Is this your "c code", a library you've downloaded or is this gcc as in the c compiler?</p>
<div class="gmail_quote">2013.12.11. 8:26 ezt írta ("Gmail" <<a href="mailto:yangzf01@gmail.com">yangzf01@gmail.com</a>>):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi all<div><br></div><div>I am trying to compile the c code and got the following error.</div><div><br></div><div><div style="margin:0px;font-size:18px;font-family:Courier">cc -DIWORDSIZE=4 -DMAX_HISTORY=25 -DNMM_CORE=0 -c -g registry.c</div>
<div style="margin:0px;font-size:18px;font-family:Courier">registry.c:60:3: warning: implicit declaration of function 'sym_forget' is invalid in C99 [-Wimplicit-function-declaration]</div><div style="margin:0px;font-size:18px;font-family:Courier">
sym_forget() ;</div><div style="margin:0px;font-size:18px;font-family:Courier"> ^</div><div><br></div><div>Do anybody have any ideas on it?</div><div><br></div><div>
Thank you<br>Bruce
</div>
<br></div></div><br>_______________________________________________<br>
macports-users mailing list<br>
<a href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/macports-users" target="_blank">https://lists.macosforge.org/mailman/listinfo/macports-users</a><br>
<br></blockquote></div>