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

Some fprintf statements cause compiler warnings when compiled with -Wformat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.1.4
    • 3.2.0
    • Samples/Tests
    • None
    • Debian unstable (sid), gcc6
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: