From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 23 Jun 2004 15:05:27 -0400 From: William Josephson To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] x11-init.c Message-ID: <20040623190527.GC43202@mero.morphisms.net> References: <34411952-C49C-11D8-9BEC-000A9599CA60@google.com> <20040623012317.5480.qmail@g.galapagos.bx.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040623012317.5480.qmail@g.galapagos.bx.psu.edu> User-Agent: Mutt/1.4.2i Topicbox-Message-UUID: aabc732c-eacd-11e9-9e20-41e7f4b1d025 On Tue, Jun 22, 2004 at 09:23:17PM -0400, Scott Schwartz wrote: > | in the new plan9port update, x11-init.c:352 is missing an argument > | to the smprint statement. the correct line is: > > Gcc has a way to tell the compiler to check printf like varargs functions. > Given the impact, maybe the ports should use that, at the cost of some ifdefs. Gcc does not have a general mechanism for this, unlike Ken's compiler. And I think switching from print to printf simply isn't practical.