| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | Cesar Rabak <csrabak AT yahoo DOT com DOT br> |
| 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: | <en0rku$67t$1@aioe.org> |
| References: | <op DOT tk9x97ybfbdswm AT arachne> |
| NNTP-Posting-Host: | S+yVkNJkXHMpp4uuTwMPPQ.user.aioe.org |
| Mime-Version: | 1.0 |
| 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?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |