Search found 24 matches
- Tue Jun 01, 2010 1:03 am
- Forum: Suggestions and Feedback
- Topic: It lives!
- Replies: 3
- Views: 7823
It lives!
Welcome back from the dead, devkitpro.org :)
- Sun Apr 25, 2010 5:41 pm
- Forum: Suggestions and Feedback
- Topic: decreasing executable size with gcc options
- Replies: 4
- Views: 11009
Re: decreasing executable size with gcc options
To my knowledge, objcopy is stripping your elf clean already. It's set up in the rules too.
- Thu Feb 11, 2010 3:39 pm
- Forum: devkitARM
- Topic: linker script ignoring init_priority attribute
- Replies: 4
- Views: 6666
Re: linker script ignoring init_priority attribute
I have no idea what you're talking about, but you can submit the patch directly to the devkitPro project: http://sourceforge.net/tracker/?func=ad ... tid=668553
- Fri Aug 28, 2009 3:27 pm
- Forum: DS/DSi Development
- Topic: Memory corruption
- Replies: 13
- Views: 16882
Re: Memory corruption
Ensure your malloc calls are returning without error (i.e. not null) before referencing the pointer it gives you.
sometype_t *var = (sometype_t*) malloc(sizeof(sometype_t));
if (var == NULL)
printSomeErrorMessageOrSomething("malloc() failed");
EDIT: I think I've misread the post a bit, just ...
sometype_t *var = (sometype_t*) malloc(sizeof(sometype_t));
if (var == NULL)
printSomeErrorMessageOrSomething("malloc() failed");
EDIT: I think I've misread the post a bit, just ...