Boost logo

Boost :

From: Atry (pop.atry_at_[hidden])
Date: 2007-05-02 10:20:09


Hartmut Kaiser wrote:
> Atry wrote:
>
>>> This looks like a little difficult to me, some author's names have
>>> ascii code > 127. Anyway, it is not a problem if such codes appear
>>> only in comments.
>> But, some ascii code > 127 appears in a string..., and unable
>> to compile on msvc if system default codepage is multi-bytes.
>> Boost.Wave and Boost.Regex is some of these library.
>
> Could you be a bit more specific, please? What files in Wave? What lines?
> Either submit a patch, please, or just point it out to me. I'll try to fix
> it if possible.
>
> Regards Hartmut
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
See cpp_macromap.hpp.txt .


--- cpp_macromap.hpp 2007-03-08 21:57:09.000000000 +0800
+++ cpp_macromap2.hpp 2007-05-02 22:14:36.781250000 +0800
@@ -680,7 +680,7 @@
 #if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
                             if (boost::wave::need_variadics(ctx.get_language())) {
                             // store a placemarker as the argument
- argument->push_back(token_type(T_PLACEMARKER, "§",
+ argument->push_back(token_type(T_PLACEMARKER, "\xA7"
                                     (*next).get_position()));
                                 ++count_arguments;
                             }
@@ -705,7 +705,7 @@
 #if BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS != 0
                     if (boost::wave::need_variadics(ctx.get_language())) {
                     // store a placemarker as the argument
- argument->push_back(token_type(T_PLACEMARKER, "§",
+ argument->push_back(token_type(T_PLACEMARKER, "\xA7"
                             (*next).get_position()));
                         ++count_arguments;
                     }


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk