gcc weirdness and the stress of mounting layoffs at Linuxcare

Tuesday, May 1st, 2001 at 12:00 am | 1,176 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…

Last Modified: Tuesday, May 1st, 2001 @ 00:00

Leave a Reply

You must be logged in to post a comment.

Bad Behavior has blocked 1778 access attempts in the last 7 days.