Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-548

add an internal header for __rw::__rw_get_stdio_fmat()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2, 4.1.3, 4.1.4
    • Fix Version/s: 4.2.1
    • Component/s: Build and Installation
    • Labels:
      None
    • Environment:

      All.

    • Patch Info:
      Patch Available
    • Severity:
      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.

        Attachments

        1. stdcxx-548.patch
          3 kB
          Farid Zaripov

          Activity

            People

            • Assignee:
              farid Farid Zaripov
              Reporter:
              sebor Martin Sebor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h
                2h