X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <4593DF83.4030004@mainstreetsoftworks.com> Date: Thu, 28 Dec 2006 10:15:15 -0500 From: Brad House User-Agent: Thunderbird 1.5.0.8 (X11/20061213) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: 2 functions with same name... References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Not sure what you're asking, but it seems like you're trying to use function overloading which is a C++ feature, C doesn't support it... if you need overloading, compile it as C++. -Brad Florian Xaver wrote: > Hi, > > why does > > int f(char*); > int f(char*, int); > > doesn't go(functions are also defined below)? GCC (version 4) tells, > that f is declared a second time. > > Thanks > --Florian Xaver > >