Opened 8 years ago

Closed 8 years ago

#10851 closed Bugs (fixed)

Missing std:: qualifier for puts call in time_point_output.cpp

Reported by: Aparna Kumta <aparna.kumta@…> Owned by: viboes
Milestone: Boost 1.58.0 Component: chrono
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

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));

Change History (2)

comment:2 by viboes, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.