Missing return values?

Discussion in 'iOS Development' started by sebi_m, Feb 4, 2008.

  1. sebi_m

    sebi_m New Member

    Joined:
    Feb 4, 2008
    Messages:
    7
    Likes Received:
    0
    hi all,

    i just spent some hours tracking down a crashing bug and it turned out it was a missing "return self" at the end of some init method. gcc didn't warn me about this, althoug i had the -Wall option set. to test it, i set the -Wreturn-type also, and again: no warning on missing return type. what's going on?

    thanks and regards,
    sebastian mecklenburg

Share This Page