Re: [Boost-bugs] [Boost C++ Libraries] #1542: [test] compiler errors when building with stdcxx library

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1542: [test] compiler errors when building with stdcxx library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-28 16:31:28


#1542: [test] compiler errors when building with stdcxx library
--------------------------------------+-------------------------------------
  Reporter: faridz_at_[hidden] | Owner: rogeeff
      Type: Bugs | Status: new
 Milestone: Boost 1.35.0 | Component: test
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by faridz_at_[hidden]):

 Another error encountered on gcc/linux with stdcxx-4.2.0:

 {{{
 ../boost/test/impl/debug.ipp:280: error: 'sscanf' is not a member of 'std'
 }}}

 The reason is that <stdio.h> #included, but used std::sscanf() instead of
 sscanf().

 I propose to #include <cstdio> instead of <stdio.h> in unix implementation
 (line 72). In this case the #include <cstdio> and #include <cstring>
 lines, which are also present in windows implementation, can be moved to
 the top of file.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1542#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC