🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #729

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

#729
From: chine.bleu
Date: Sat, 24 Oct 2026 10:25
20 lines
1948 bytes
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.

-- 
Siri Seal of Disavowal #777-000. Disavowed. Denied.  @
NO KINGS    For I desire mercy not sacrifice.       /|\
The Church of the Holey Apple .signature 5.5        / \
of Discordian Mysteries. This post insults Islam. Mohamed
Technical Details
Message-ID: <11bi11u$2k5ua$2@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>

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: "chine.bleu" <chine.bleu@yahoo.com>
Newsgroups: comp.lang.c
Subject: Re: variadic min and max, (any some and none, cat and more)
Date: Sat, 24 Oct 2026 03:25:02 -0700
Organization: semi-chaotic
Lines: 20
Message-ID: <11bi11u$2k5ua$2@dont-email.me>
References: <11bes8b$1gncr$1@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 10:25:03 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2758602"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+F38+S1S+jogJw69aGvsgW8qpsGNk/Ifc="; posting-host="f37dd85ea1f6aa9b47e9d1b17075b279"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29.1
Cancel-Lock: sha1:A2FWy7d7moe7EQXDTCob42hk9C0= sha256:EydvqZRGy4QR6MI/A9jM0GFMh8uOd9Qd+deHzUlSeWk=
	sha1:+nflR5L778jTu3qw07vXeAP5fnA= sha256:vADHXxx5PvdsNReZS/LcH2sXcyBRwX22IrbvF+QUhzo=
In-Reply-To: <11bes8b$1gncr$1@dont-email.me>