Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.1.2, 4.1.3, 4.1.4
-
None
-
All.
-
Patch Available
-
Linker Error
Description
The _rw::_rw_get_stdio_fmat() function (and perhaps some others) defined in src/punct.cpp and declared as well as used in both num_get.cpp and num_put.cpp. Changing the function signature involves changing three places instead of two, which is error-prone. See http://svn.apache.org/viewvc?rev=574738&view=rev and http://svn.apache.org/viewvc?rev=574422&view=rev for an example where this caused breakage.
The function (and any other such examples) should be declared in a header to prevent such incidents.