This compiler defaults to the C locale and does not support any other locales; therefore, it does not support the header file locale.h. The following would normally be found in this file:
locale.h