From 1f834b569c8a39f44882c2f2010a9f0ecffdaab1 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 7 Feb 2007 22:11:30 -0800 Subject: 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_formats.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base/cprintf_formats.hh') diff --git a/src/base/cprintf_formats.hh b/src/base/cprintf_formats.hh index 0af493217..4e8b2b09e 100644 --- a/src/base/cprintf_formats.hh +++ b/src/base/cprintf_formats.hh @@ -28,8 +28,8 @@ * Authors: Nathan Binkert */ -#ifndef __CPRINTF_FORMATS_HH__ -#define __CPRINTF_FORMATS_HH__ +#ifndef __BASE_CPRINTF_FORMATS_HH__ +#define __BASE_CPRINTF_FORMATS_HH__ #include #include -- cgit v1.2.3