Re: c++0x and locale_t

2016-10-02 Thread Ken Brown
On 10/1/2016 10:58 AM, Brian Inglis wrote: On 2016-10-01 07:30, Ken Brown wrote: I'm having an issue building icu, which boils down to the following test case: $ cat foo.cc #include locale_t foo; $ g++ -c --std=c++0x foo.cc foo.cc:2:1: error: ‘locale_t’ does not name a type locale_t foo; ^ If

Re: c++0x and locale_t

2016-10-01 Thread Brian Inglis
On 2016-10-01 07:30, Ken Brown wrote: I'm having an issue building icu, which boils down to the following test case: $ cat foo.cc #include locale_t foo; $ g++ -c --std=c++0x foo.cc foo.cc:2:1: error: ‘locale_t’ does not name a type locale_t foo; ^ If I remove '--std=c++0x', the error goes away

c++0x and locale_t

2016-10-01 Thread Ken Brown
I'm having an issue building icu, which boils down to the following test case: $ cat foo.cc #include locale_t foo; $ g++ -c --std=c++0x foo.cc foo.cc:2:1: error: ‘locale_t’ does not name a type locale_t foo; ^ If I remove '--std=c++0x', the error goes away. I know nothing about C++ standa