Problems with stdio.h

It looks to me like you are picking up the wrong stdio.h.

On my Mac, the Arduino one is at:

/Applications/Arduino_1.0.1.app/Contents/Resources/Java/hardware/tools/avr/avr/include/stdio.h

The Arduino is compiled with exceptions disabled, so it shouldn't be seeing "throw" in the library.