Search Unity

Upgraded to xCode 4.4 and now have warning in RegisterMonoModules.cpp

Discussion in 'iOS and tvOS' started by Crazy Robot, Sep 2, 2012.

  1. Crazy Robot

    Crazy Robot

    Joined:
    Apr 18, 2009
    Posts:
    921
    Hello,

    I just upgraded to xCode 4.4 running on Lion with Unity 3.5.5f3. I now have 70 of the following yellow cautions in RegisterMonoModules.cpp

    after the

    Code (csharp):
    1. void RegisterAllClasses()
    I get "Empty parentheses interpreted as a function declaration."

    On lines such as:

    Code (csharp):
    1. int RegisterClass_GameObject();
    Code (csharp):
    1. int RegisterClass_Component();
    And so on.

    It seems xCode 4.4 does not like the empty parentheses.

    This happens will all xcode builds.

    Anyone run into this?
     

    Attached Files:

    Last edited: Sep 3, 2012
  2. RazorCut

    RazorCut

    Joined:
    May 7, 2009
    Posts:
    393
    Yeah, I get the same stuff but it seems to be harmless at the moment. Perhaps warning output is a bit too verbose now with the generated Xcode project.
     
  3. Crazy Robot

    Crazy Robot

    Joined:
    Apr 18, 2009
    Posts:
    921
    Thanks,

    My apps compile and run normally. I just don't want to deal with a rejection from Apple for whatever reason. I'll be submitting an app this week, so I guess I'll see.
     
  4. RazorCut

    RazorCut

    Joined:
    May 7, 2009
    Posts:
    393
    Those aren't rejectable offenses, so no need to worry.
     
  5. poolts

    poolts

    Joined:
    Aug 9, 2012
    Posts:
    113
    Did anyone see these warnings disappear? Still got 82 of them.
     
  6. stefstivala

    stefstivala

    Joined:
    Oct 27, 2012
    Posts:
    8
    i also get 82 of them. any fix yet for this?