Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3488

Show
Ignore:
Timestamp:
05/06/08 17:59:53 (7 months ago)
Author:
larsivi
Message:

And GDC rears ugly head again (va_list issues)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/util/log/Log.d

    r3485 r3488  
    8686 
    8787private import  tango.util.log.model.ILogger; 
     88 
     89/******************************************************************************* 
     90 
     91        Platform issues ... 
     92 
     93*******************************************************************************/ 
     94 
     95version (GNU) 
     96        { 
     97        private import std.stdarg; 
     98        alias void* Arg; 
     99        alias va_list ArgList; 
     100        } 
     101     else 
     102        { 
     103        alias void* Arg; 
     104        alias void* ArgList; 
     105        } 
    88106 
    89107/******************************************************************************* 
     
    901919        ***********************************************************************/ 
    902920 
    903         final char[] format (TypeInfo[] arguments, void* argptr, char[] formatStr, char[] scratchpad) 
     921        final char[] format (TypeInfo[] arguments, ArgList argptr, char[] formatStr, char[] scratchpad) 
    904922        {     
    905923                return Format.vprint (scratchpad, formatStr, arguments, argptr);