X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Cesar Rabak Newsgroups: comp.os.msdos.djgpp Subject: Re: 2 functions with same name... Date: Thu, 28 Dec 2006 14:35:08 -0200 Organization: Aioe.org NNTP Server Lines: 12 Message-ID: References: NNTP-Posting-Host: S+yVkNJkXHMpp4uuTwMPPQ.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse AT aioe DOT org In-Reply-To: User-Agent: Thunderbird 1.5.0.8 (X11/20061109) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Florian Xaver escreveu: > 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. > Aren't you attempting to compile a C++ source with the C compiler?