|
Boost Users : |
Subject: Re: [Boost-users] compile error on Solaris 10
From: Kelvin Cheng (KCheng_at_[hidden])
Date: 2010-11-18 02:30:33
>> All the errors are from related to the basic types when expanded from
the
>> templates.
>> Any idea what's going wrong ?
>
>Not really, but that's a pretty old gcc version. The errors seem to be
>because the compiler is treating types "char" and "signed char" as the
same
>type, maybe there's a command line option to control this? Otherwise,
you
>probably just need a newer compiler I'm afraid.
>
>HTH, John.
It turns out to be problem caused by other header files.
I put the #include <boost/regex.hpp> line before most other header files
and the error goes away.
-- Kelvin KF
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