<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>30 jun 2007 kl. 15.06 skrev Didrik Madheden:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">On 30/06/07, David Vuorio <<a href="mailto:vuorio@kth.se">vuorio@kth.se</a>> wrote:</font></p> <blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">$ gcc --version</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">[...]</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px; font: 10.0px Monaco; min-height: 14.0px"><br></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">$ gcc conv.c</font></p> <p style="margin: 0.0px 0.0px 0.0px 10.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">$</font></p> </blockquote><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">Aha. FBSD 6.2 har en lite äldre gcc än så.</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px"><br></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">%gcc --version</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">gcc (GCC) 3.4.6 [FreeBSD] 20060305</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">Copyright (C) 2006 Free Software Foundation, Inc.</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">This is free software; see the source for copying conditions.<span class="Apple-converted-space"> </span>There is NO</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px"><br></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">%gcc utf8.c</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">utf8.c: In function `main':</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">utf8.c:1: error: too many arguments to function `putchar'</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Monaco; min-height: 14.0px"><br></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Monaco" size="2" style="font: 10.0px Monaco">/Didrik Madheden</font></p> </blockquote></div><br><div>Jag kunde inte kompilera det på en linuxmaskin med gcc 3.3.5 heller -- samma felmeddelande.</div><div><br class="webkit-block-placeholder"></div><div>Får mig att undra var i h-e gcc får sina prototyper ifrån då jag inte gjort några #includes ;-)</div><div><br class="webkit-block-placeholder"></div><div>Förmodligen finns det någon flagga till gcc som får den att sluta vara retarderad på denna punkt.</div></body></html>