Opened 8 years ago
Closed 8 years ago
#11089 closed Bugs (fixed)
Missing qualifier for fputs call in libs/lexical_cast/example/small_examples.cpp
Reported by: | Owned by: | Antony Polukhin | |
---|---|---|---|
Milestone: | Boost 1.58.0 | Component: | lexical_cast |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
Compiling libs/lexical_cast/example with Oracle Solaris Studio 12.4 on Solaris 11.2, we see the following error: "/export/home/boost_regression/boost_sparc-S2_stlport4/boost_root/libs/lexical_cast/example/small_examples.cpp", line 31: Error: The function "fputs" must have a prototype. 1 Error(s) detected.
The following change fixes the error. % diff ./small_examples.cpp small_examples.cpp_new 31c31 < fputs(buffer.begin(), file); ---
std::fputs(buffer.begin(), file);
Change History (1)
comment:1 by , 8 years ago
Milestone: | To Be Determined → Boost 1.58.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This issue has been fixed in 1.58b release