Boost logo

Boost Users :

Subject: [Boost-users] [locale] 1.48+stlport5.2.1: invalid conversion from `int' to `stlp_std::ctype_base::mask'
From: Bogdan Slusarczyk (bogdan.slusarczyk_at_[hidden])
Date: 2011-11-24 02:51:59


Hi,
I tried to build boost1.48 with stlport5.2.1 (linux). I noticed such
problem:

libs/locale/src/posix/numeric.cpp:215: error: invalid conversion from
`int' to `stlp_std::ctype_base::mask'

This is simple problem like this one:

enum Test {
     value
}

Test test;
test|=value; //error is here

I could use -fpermissive, however I think it's very intrusive. If you
know other solutions let me know please.

Best regards,
Bogdan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net