|
Boost : |
From: Boris Schaeling (boris_at_[hidden])
Date: 2001-02-11 18:30:20
> -----Ursprüngliche Nachricht-----
> Von: Jeremy Siek [mailto:jsiek_at_[hidden]]
> Gesendet: Sonntag, 11. Februar 2001 02:17
> An: boost_at_[hidden]
> Betreff: [boost] problem with use of "\" in macros
>
>
>
> For some odd reason, when "\" is used in macros and when boost files
> (which were saved under DOS) are being used under unix, g++ gets really
> confused:
>
> For example, with the current release g++ gives the error:
>
> ../../boost/config.hpp:448: Invalid token in expression
>
> and also hits the same error in cstdint.hpp.
Somewhere at boost.org it is mentioned that you must use "-a" option with
unzip under Unix to convert the text files. However this option didn't work
for me as unzip didn't find any text files but only binaries. I don't know
how unzip recognizes text and binary files but I had to use the "-aa" option
to force converting text files from DOS to Unix. Otherwise eg. using regex++
would have been impossible because of these "\" errors. IMHO boost.org
should either provide a tar-file for Unix users or recommend use of "-aa"
option with unzip under Unix.
Boris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk