delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/16/09:33:19

From: Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: function overload in gcc
Date: Sun, 16 Sep 2001 13:27:46 +0000 (UTC)
Organization: University of Lulea, Sweden
Lines: 18
Message-ID: <1000646864.676853@queeg.ludd.luth.se>
References: <9o0hbg$98u$06$1 AT news DOT t-online DOT com> <9o27fm$sk2$00$1 AT news DOT t-online DOT com>
X-Trace: news.luth.se 1000646866 20590 130.240.16.109 (16 Sep 2001 13:27:46 GMT)
X-Complaints-To: abuse AT luth DOT se
User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m))
Cache-Post-Path: queeg.ludd.luth.se!unknown AT father DOT ludd DOT luth DOT se
X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Benjamin 'Killer' Kalytta <bkausbk AT web DOT de> wrote:
: "Benjamin 'Killer' Kalytta" <bkausbk AT web DOT de> schrieb im Newsbeitrag
: news:9o0hbg$98u$06$1 AT news DOT t-online DOT com...
:> how is it possible to overload functions in gcc ?
:>
: like

: int func(int arg1);
: int func(int arg1, int arg2);
: int func(int arg1, int arg2, int arg3);

It not overloading in the C++ sense but it will do something similar
to the above: "info libc a varargs".


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019