> However, when I add the -O switch to the compiler options, it stops
> working. It's a bit complicated to explain the details, but basically
> nothing gets assigned except strings and characters.
>
> I'm using the 28-08-2002 build of the Windows version of MSPGCC - the
> latest version won't compile at all, it just gives an internal compikler
> error.
>

Sorry, this is my problem. (...hardware multiplier...)
fixed it. I'll submitt new code when I test it.

About your code:
1. The best thing to do is just to use "va_arg" macros (check, for example 
sprintf())
2. As a quick hack you can pass -mhwmul-no-int param to gcc.

-- 
/********************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
      (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
   (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
 ********************************************************************/


Reply via email to