On Wed, 17 Jul 2002 10:54:21 +0200
Mattias Gaertner <nc-...@ne...> wrote:
> On Wed, 17 Jul 2002 00:54:06 +0200
> "Olaf Leidinger" <le...@ne...> wrote:
>
> > Well, I noticed something very strange when using macros like g_warning and g_error.
> >
> > When passing only one argument it works.
> >
> > But when passing two or more arguments (in the printf style) it prints junk.
> >
> > It seems as if the array of const stuff isn't passed correctly by the macro to the underlying function. If anybody has an idea I'd be pleased.
>
> I think, this is a compiler bug. :(
>
> And I don't know an elegant workaround. :(
I committed a workaround: SysUtils.Format
This is not completely compatible.
Mattias
|