Derrick’s Allmuffedup

June 23, 2010

Note to self… don’t typo when declaring constants >_<

Filed under: Objective-C — Derrick @ 10:45 pm

At least in X-Code v3.2.2… if you go do declare a constant in your header file, makes sure you don’t have any typo’s before you compile… else you may need to reboot the box >.<

I was declaring a few constants from memory something like:

#define BRICKS_WIDTH = 5;

which has two typos... apparently doesn't need the = or semicolon >.< when you go to compile it hangs when building from the source files and a gcc process named cc1obj spikes the cpu to 100% and can't be stopped... tried a kill -9 after force quitting x-code and still no dice it just re-spawned still spiking the cpu.. i'm sure there is a more technical way to stop it instead of a windows fix (hard reboot) but after all i'm a lowly geek not a nerd.

Comments (0)
Older Posts »

Powered by WordPress