Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2081

Some fprintf statements cause compiler warnings when compiled with -Wformat

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.2.0
    • Component/s: Samples/Tests
    • Labels:
      None
    • Environment:
      Debian unstable (sid), gcc6
    • Flags:
      Patch

      Description

      When compiling the tests with -Wformat, several fprintf statements cause compiler warnings due to mismatches between the format specifier and the variable type.

      Patch attached.

        Attachments

        1. fix_fprintf_warnings.diff
          6 kB
          Bill Blough

          Activity

            People

            • Assignee:
              scantor Scott Cantor
              Reporter:
              billblough Bill Blough
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: