🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #738

Re: variadic min and max, (any some and none, cat and more)

#738
From: fir
Date: Sat, 24 Oct 2026 13:12
29 lines
2153 bytes
chine.bleu pisze:
> fir wrote:
>> problem is imo this leading argument n, imo it should
>>
>> just be called
>>
>> min(34,34,2);
>>
>> thus the variadic support probably need to change
> 
> 
> The compiler cannot be certain which function calls are variadic. Old 
> style function declarations are allowed which provide no information 
> about arguments. You cannot change this without breaking unknown amount 
> of dusty old code.
> 



im not sure as what you say...cant it just set this register to hold the 
info of sze of arguments in case he dont know?

mostly if definition is described as variadic its vaiadic


overally im not sue if i should even consider all that conventions who 
pass args by stack as a list as it seems for me kinda obsolete (but 
maybe i should)
Technical Details
Message-ID: <11bias6$2nmhs$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11bes8b$1gncr$1@dont-email.me> <11bi11u$2k5ua$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: fir <profesor.fir@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: variadic min and max, (any some and none, cat and more)
Date: Sat, 24 Oct 2026 15:12:37 +0200
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <11bias6$2nmhs$1@dont-email.me>
References: <11bes8b$1gncr$1@dont-email.me> <11bi11u$2k5ua$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 24 Oct 2026 13:12:38 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2873916"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+y2XH4mfLXneIndVtfvv92ZZK3CymsAPA="; posting-host="b285b74d6a7e1db326de4fb86ea26fbc"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101
 Firefox/140.0 SeaMonkey/2.53.24
Cancel-Lock: sha1:Nt6mI/DIlWdXXgFvYEYAoPkXEZ0= sha256:jpAHZTe+qcFVFyb1dyeSB4MIL4+y144P4rvF5kEExoY=
	sha1:2wpDcCRLC31pft8Mqfri4yIEpNg= sha256:Ay7ljv4sUWp9pgdS5f1rcJHsrpcgRkqztg6JNAiqgQs=
In-Reply-To: <11bi11u$2k5ua$2@dont-email.me>