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: | 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:1 by , 8 years ago
Milestone: | To Be Determined → Boost 1.58.0 |
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
https://github.com/boostorg/chrono/commit/9adab29010e6e6a4d4c4f9004ddd269ebb441115