[Boost-bugs] [Boost C++ Libraries] #10851: Missing std:: qualifier for puts call in time_point_output.cpp

Subject: [Boost-bugs] [Boost C++ Libraries] #10851: Missing std:: qualifier for puts call in time_point_output.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-04 20:55:43


#10851: Missing std:: qualifier for puts call in time_point_output.cpp
-------------------------------------------+---------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: chrono
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------
 File libs/chrono/test/io/time_point_output.cpp fails when compiled with
 Oracle Solaris Studio 12.4 on Solaris 11.2

 The error is:

 "../libs/chrono/test/io/time_point_output.cpp", line 193: Error: The
 function "puts" must have a prototype.

 The file includes <cstdio>, however the call to puts is unqualified.

 The diff's for the file:

 193c193

 < std::puts(ctime(&t));

 ---

> puts(ctime(&t));

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10851>
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:50:17 UTC