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

Warnings when compiling with GCC 4.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10
    • Fix Version/s: 1.10
    • Component/s: XalanC
    • Labels:
    • Environment:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: