OK, great. So the &t->name is not really an error, and I don't have to be afraid the ICS will crash because of it. And the type of &t->name is indeed the char (*)[100] mentioned in the spurious warning.petero2 wrote:There is a good explanation here: http://stackoverflow.com/questions/2528 ... value-in-chgm wrote:Hmm, when I remove the & from &t->name, all the non-sensical warnings and their duplicats disappear. Indeed t->name is an array, which is an address, and I have no idea how you could take the address of an address. Seems to me that this should be an error, rather than a warning. It surely confused the compiler, making it completely lose track of the type of other, unrelated variables.
The compiler still seems to go completely haywire on this, however, claiming the argument of strlen (which is want, and not &t->name) has this type. So I can only cross my fingers in the hope it has compiled it as it should...