sebi_m
02-04-2008, 06:38 AM
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
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
