gcc weirdness and the stress of mounting layoffs at Linuxcare
Tuesday, May 1st, 2001 at 12:00 am
| 1,177 views
| trackback url
C++
void *packed = mai.pack(); delete packed;
(which throws a bunch of warnings)
vs.
unsigned char* packed = (unsigned char*)mai.pack(); delete[]packed;
(which compiles cleanly)
C++ is not my best strength.
-pedantic -Wall -Wmissing-prototypes are my new best friends!
In other news…
WTF?! How much can we possibly take here, I mean come on…