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

some gcc Warnings not reported when compiling OC-Code


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • warnings-plugin
    • None
    • Platform: Macintosh, OS: All

      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)

            drulli Ulli Hafner
            tschmitt tschmitt
            0 Vote for this issue
            0 Start watching this issue