<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/6033" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2003-11-05T01:40:19-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/6033</id>

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-11-05T01:40:19-04:00</updated>

		<published>2003-11-05T01:40:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=29530#p29530</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=29530#p29530"/>
		<title type="html"><![CDATA[Odd compile error and quick fix (linux/1.6.15)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=29530#p29530"><![CDATA[
If while running 'make' you (like me)  run into the following errors:<br><br><span style="color:red"></span><div class="codebox"><p>Code: </p><pre><code>snprintf.c:722: parse error before "va_dcl"snprintf.c:724: syntax error before '{' tokensnprintf.c:730: warning: type defaults to `int' in declaration of `VA_LOCAL_DECL'snprintf.c:730: warning: data definition has no type or storage classsnprintf.c:732: warning: type defaults to `int' in declaration of `VA_START'snprintf.c:732: warning: parameter names (without types) in function declarationsnprintf.c:732: warning: data definition has no type or storage classsnprintf.c:733: parse error before "char"snprintf.c:733: warning: type defaults to `int' in declaration of `VA_SHIFT'snprintf.c:733: warning: data definition has no type or storage classsnprintf.c:735: parse error before "size_t"snprintf.c:735: warning: type defaults to `int' in declaration of `VA_SHIFT'snprintf.c:735: warning: data definition has no type or storage classsnprintf.c:736: parse error before "char"snprintf.c:736: warning: type defaults to `int' in declaration of `VA_SHIFT'snprintf.c:736: warning: data definition has no type or storage classsnprintf.c:738: parse error before "void"snprintf.c:739: warning: type defaults to `int' in declaration of `VA_END'snprintf.c:739: warning: data definition has no type or storage classsnprintf.c:740: parse error before "return"make[2]: *** [snprintf.o] Error 1make[2]: Leaving directory `/home/afazio/tmp/eggdrop1.6.15/src/compat'make[1]: *** [compatability] Error 2make[1]: Leaving directory `/home/afazio/tmp/eggdrop1.6.15/src'make: *** [modegg] Error 2</code></pre></div>[/color]<br><br>then, with a text editor, comment out the two compiler statements on lines 89 and 715 in src/compat/snprintf.c.  This fixed the problem for me.  Cheers.<p>Statistics: Posted by Guest — Wed Nov 05, 2003 1:40 am</p><hr />
]]></content>
	</entry>
	</feed>
