Get rid of the gross operator,()/variadic macro hack
authorNathan Binkert <binkertn@umich.edu>
Thu, 8 Feb 2007 06:11:30 +0000 (22:11 -0800)
committerNathan Binkert <binkertn@umich.edu>
Thu, 8 Feb 2007 06:11:30 +0000 (22:11 -0800)
commit1f834b569c8a39f44882c2f2010a9f0ecffdaab1
tree5d4ea11cf603704442e9216c1ab22e9f3e0c297e
parentaf698e8b0506b17dfa9eb6d1e96888cf54041a09
Get rid of the gross operator,()/variadic macro hack
that made ccprintf and friends work, turn it into a
normal function (though it still has a slightly strange
implementation.)  All instances of variadic macros
are not yet removed, but I know how, and it will happen.

One side effect of this new implementation is that a
cprintf statement can now only have 16 parameters, though
it's easy enough to raise this number if needed.

--HG--
extra : convert_revision : 85cb3c17f8e2ecf9cd2f31ea80a760a28ea127a7
src/base/cprintf.cc
src/base/cprintf.hh
src/base/cprintf_formats.hh
src/base/misc.cc
src/base/misc.hh
src/base/trace.cc
src/base/trace.hh
src/base/varargs.hh [new file with mode: 0644]