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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.2, 4.1.3, 4.1.4
    • 4.2.1
    • Build and Installation
    • 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.

      Attachments

        1. stdcxx-548.patch
          3 kB
          Farid Zaripov

        Activity

          People

            farid Farid Zaripov
            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