Hi,
c++locale.cc: In function 'void std::__convert_to_v(const char*, _Tv&, std::_Ios_Iostate&, int* const&) [with _Tv = long double]':
c++locale.cc:167: error: 'sscanf' was not declared in this scope
Sorry, should be fixed in 138966.

Paolo.

////////////
2008-08-11  Paolo Carlini  <[EMAIL PROTECTED]>

        * config/locale/generic/c_locale.cc: Include <cstdio>.
Index: config/locale/generic/c_locale.cc
===================================================================
*** config/locale/generic/c_locale.cc   (revision 138953)
--- config/locale/generic/c_locale.cc   (working copy)
***************
*** 1,6 ****
  // Wrapper for underlying C-language localization -*- C++ -*-
  
! // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
  // Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
--- 1,6 ----
  // Wrapper for underlying C-language localization -*- C++ -*-
  
! // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  // Free Software Foundation, Inc.
  //
  // This file is part of the GNU ISO C++ Library.  This library is free
***************
*** 38,43 ****
--- 38,44 ----
  #include <cmath>  // For isinf, finite, finitef, fabs
  #include <cstdlib>  // For strof, strtold
  #include <cstring>
+ #include <cstdio>
  #include <locale>
  #include <limits>
  #include <cstddef>

Reply via email to