Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4274

some gcc Warnings not reported when compiling OC-Code

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Platform: Macintosh, OS: All

    Description

      When using GCC 2.7/3.3/4.0/4.02 the following warnings are not reported by the plugIn

      in GCC 3.3/4.0/4.2 (Xcode - MacOS X)
      folder1/file1.m:638: warning: local declaration of `command' hides instance variable
      folder1/file1.m:640: warning: instance variable `command' accessed in class method

      in GCC 2.7 (ProjectBuilder OpenStep-Enterprise (Windows))
      file1.m:47: warning: `oldGeb' might be used uninitialized in this function
      file1.m:640: warning: local declaration of `command' hides instance variable
      file1.h(15): warning: `BOOL' redefined
      file1.c(34): warning: this is the location of the previous definition

      All warning where generate by compiling ObjectiveC Code (see the *.m in the File-Names)

      Attachments

        Activity

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/GccParser.java
          trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpLineParser.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GccParserTest.java
          trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt
          trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue4274.txt
          http://fisheye4.cenqua.com/changelog/hudson/?cs=21044
          Log:
          [FIXED JENKINS-4274] Added support for Objective C sources.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/GccParser.java trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/parser/RegexpLineParser.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/GccParserTest.java trunk/hudson/plugins/warnings/src/test/java/hudson/plugins/warnings/parser/ParserRegistryTest.java trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/all.txt trunk/hudson/plugins/warnings/src/test/resources/hudson/plugins/warnings/parser/issue4274.txt http://fisheye4.cenqua.com/changelog/hudson/?cs=21044 Log: [FIXED JENKINS-4274] Added support for Objective C sources.

          People

            drulli Ulli Hafner
            tschmitt tschmitt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: