Undefined behaviour causing problems on AVR32

Torbjorn Granlund tg at gmplib.org
Tue Apr 14 09:38:33 CEST 2009


Bradley Smith <bradsmith at debian.org> writes:

  static int
  scan (const char **sp, const char *fmt, ...)
  {
      va_list ap;
      int ret;
  
      va_start(ap, fmt);
      ret = vsscanf(*sp, fmt, ap);
      va_end(ap);
  
      return ret;
  }
  
Unfortunately, vsscanf seems to be missing from some systems GMP tries
to support.

-- 
Torbjörn


More information about the gmp-bugs mailing list