Name: ALFA-RICER 2009-11-16 13:54
IT'S BEEN A LONG TIME SINCE THE LAST DISCUSSION WE HAD ABOUT THIS...
SPEED = -O3 -ffast-math -fomit-frame-pointer -flto -fwhole-program
WARNINGS = \
-Wall -pedantic -Wc++-compat -Wstrict-aliasing=2 -Wextra \
-Wtraditional -Wconversion -Wshadow \
-Wcast-qual -Wcast-align -Wwrite-strings \
-Waggregate-return -Wstrict-prototypes -fno-common \
CFLAGS = -std=c99 -fgnu89-inline $(SPEED) $(WARNINGS)gcc used to BAWWW about this:while(a=*i++)-Wall, not -Werror, and it would generate a warning, not an error. It would still compile just fine.
while ((a=*i++))- (id)init {
if (self = [super init]) {
// some shit
}
return self;
}= and ==. I've written over 9000 lines (seriously) of C and have yet to make that mistake.