189,190c189,190
< #define __dprintf(cycle, name, format, args...) \
< Trace::dprintf(format, (*(new cp::ArgList), args), cycle, name)
---
> #define __dprintf(cycle, name, format, ...) \
> Trace::dprintf(format, (*(new cp::ArgList), __VA_ARGS__), cycle, name)
192c192
< #define DPRINTF(x, args...) \
---
> #define DPRINTF(x, ...) \
195c195
< __dprintf(curTick, name(), args, cp::ArgListNull()); \
---
> __dprintf(curTick, name(), __VA_ARGS__, cp::ArgListNull()); \
198c198
< #define DPRINTFR(x, args...) \
---
> #define DPRINTFR(x, ...) \
201c201
< __dprintf((Tick)-1, std::string(), args, cp::ArgListNull()); \
---
> __dprintf((Tick)-1, std::string(), __VA_ARGS__, cp::ArgListNull()); \
204c204
< #define DPRINTFN(args...) \
---
> #define DPRINTFN(...) \
206c206
< __dprintf(curTick, name(), args, cp::ArgListNull()); \
---
> __dprintf(curTick, name(), __VA_ARGS__, cp::ArgListNull()); \
209c209
< #define DPRINTFNR(args...) \
---
> #define DPRINTFNR(...) \
211c211
< __dprintf((Tick)-1, string(), args, cp::ArgListNull()); \
---
> __dprintf((Tick)-1, string(), __VA_ARGS__, cp::ArgListNull()); \
218,221c218,221
< #define DPRINTF(x, args...) do {} while (0)
< #define DPRINTFR(args...) do {} while (0)
< #define DPRINTFN(args...) do {} while (0)
< #define DPRINTFNR(args...) do {} while (0)
---
> #define DPRINTF(x, ...) do {} while (0)
> #define DPRINTFR(...) do {} while (0)
> #define DPRINTFN(...) do {} while (0)
> #define DPRINTFNR(...) do {} while (0)