Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-718

Warnings when compiling with GCC 4.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.10
    • 1.10
    • XalanC
    • Linux and GCC4

    Description

      My project links with XalanC. When I compile it, I get warnings like "warning: suggest parentheses around && within ||". The source of those warnings is in XalanC. It is a bit problematic, because I want to have my build as clean as possible, so I use flags "-Wall -Werror -pedantic". In this case compiler produces errors instead of warnings which breaks my build.
      I tried to fix all occurrences of the warning. Now whole XalanC project should compile with the flags mentioned above (also tests and samples).

      Attachments

        1. patch.diff
          18 kB
          Kris

        Activity

          People

            minchau@ca.ibm.com Brian Minchau
            flowher Kris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: