|
Boost : |
From: Hartmut Kaiser (HartmutKaiser_at_[hidden])
Date: 2005-02-17 01:30:52
Larry Evans wrote:
> I got wave to work on this:
> <-----------------
> #define DOUBLE(X) X,X
>
> #pragma wave trace(enable)
> DOUBLE(aaa)
> #pragma wave trace(disable)
Wow ;-)
> >-----------------
> but it tops out the cpu and finally aborts when
> BOOST_PP_ENUM_PARAMS is used. Heres the output from make:
> <-----------------
That's very strange, it works for me without any problems (no significant
execution time required).
For your reference I've attached the generated files.
> cd
> /home/evansl/prog_dev/boost-release/boost_1_32_0/wave/wave/too
> ls/wave/build/
> make wave
> cat pp_enum_params.cpp
> #include <boost/preprocessor/repetition/enum_params.hpp>
> #pragma wave trace(enable)
> BOOST_PP_ENUM_PARAMS(3, class T)
> #pragma wave trace(disable)
> date
> Wed Feb 16 19:19:41 MST 2005
> wave --traceto pp_enum_params.trace.out --output
> pp_enum_params.pp.out -S /usr/include/c++/3.3 -S
> /usr/include/c++/3.3/i486-linux -S /usr/include -S
> /home/evansl/prog_dev/boost-release/boost_1_32_0
> pp_enum_params.cpp
> make: *** [wave] Killed
>
> Compilation exited abnormally with code 2 at Wed Feb 16 19:23:55
> >-----------------
> Has anyone had success on non-trivial cases?
Does anybody else has similar problems? I'm working under Windows, so
perhaps it's a system specific thing?
Regards Hartmut
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk