当我第一次使用Boost时,尝试使用<boost/regex.hpp>
编译我的第一个代码
我收到以下编译错误
/usr/local/include/boost/regex/v4/regex_traits_defaults.hpp:289: error: expected unqualified-id before '=' token
转到.hpp代码,我发现第289行就像
一样 static const charT A = 'A';
似乎我的编译器不允许A作为变量名。
我在Linux Red Hat 5.8下使用Eclipse 3.7.2