#84548 - HyperHacker - Tue May 23, 2006 7:40 am
I noticed that when I use malloc() and similar functions in DS apps, I always have to cast their return types (unless I'm actually using void*) or else it warns me about the conversion. (I use arm-elf-g++ to compile.) Can this warning be disabled? I know it's bad form, but I found that LAME generates several dozen of these warnings. (A lot of compilers don't seem to care about not casting void*.) I've tried fooling with the warning options but I only managed to make it create more warnings for trivial things like assigning an unsigned variable to a signed one.
[edit] Bah, the preview shows my full thread title but it gets cut off when I submit. >_>
_________________
I'm a PSP hacker now, but I still <3 DS.
[edit] Bah, the preview shows my full thread title but it gets cut off when I submit. >_>
_________________
I'm a PSP hacker now, but I still <3 DS.