This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: rebuilding fixincludes - good news, bad news and RFE
- To: egcs-bugs at egcs dot cygnus dot com, korbb at egcs dot cygnus dot com
- Subject: Re: rebuilding fixincludes - good news, bad news and RFE
- From: mrs at wrs dot com (Mike Stump)
- Date: Tue, 6 Apr 1999 10:31:27 -0700
- Cc: ddsinc09 at ix dot netcom dot com
> Date: 6 Apr 1999 14:31:03 -0000
> From: korbb@egcs.cygnus.com
> The reason is that all sprintf functions require that you know the
> number of arguments at compile time.
False. vsprintf doesn't need to know.
> AutoGen does not know this at compile time.
conclusion, it should use vsprintf. It is almost portable (it appears
in libiberty).
> I have a total re-implementation of sprintf that uses an argv style
> list of arguments to the format.
Wow, talk about reinventing the wheel. Well, you should make it
conform to vsprintf, and put it in libiberty, if your version is truly
better than Per's version.