This might not be earth-shatteringly new to those who have seen my code before, but I was a little surprised. 🙂
A C program that I wrote a little while ago (and has previously worked fine on Windows, Linux, Solaris and HP) failed horribly on AIX. A little digging showed that I had written:
char* thisIsSupposedToBeAString[256];
I guess that at the time I wrote it (presumably early in the morning, and caffeine-fuelled) I had a string (char thisIsSupposedToBeAString[256];
) and wanted a pointer to it, so went back and stuck a * on it without thinking.