A bus error is caused when the stack gets corrupted; this is not a problem with the compiler. There is some serious problem in the code that is overwriting your stack. You should check to ensure that you are using length limited string functions to prevent overwriting the end of your string...