XalanC
  1. XalanC
  2. XALANC-718

Warnings when compiling with GCC 4.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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).

        Activity

        Kris created issue -
        Kris made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Kris added a comment -

        Patch with the fix attached

        Show
        Kris added a comment - Patch with the fix attached
        Kris made changes -
        Attachment patch.diff [ 12501170 ]
        Kris made changes -
        Description When I compile my project I get warnings like "warning: suggest parentheses around && within ||", 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).
        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).

          People

          • Assignee:
            Brian Minchau
            Reporter:
            Kris
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development