
I tried MSVC8 and was able to go small steps forward. Basically, I was able to compile all header files, albeit explicitely setting /Zm1000. Which is fine with me but might be helpful to know for other people. Where I get into troubles is when defining the data processor class. For demonstration purposes I just create an empty class for now. But I have the same errors when I copy and paste your processor from the documentation. class processor : public signals::filter<processor, void (double)> {}; Here is what my compiles outputs: 1>c:\boost\boost\type_traits\function_traits.hpp(170) : error C2504: 'boost::detail::function_traits_helper<Function>' : base class undefined 1> with 1> [ 1> Function=processor * 1> ] 1> c:\boost\boost\dataflow\signals\component\filter.hpp(55) : see reference to class template instantiation 'boost::function_traits<Function>' being compiled 1> with 1> [ 1> Function=processor 1> ] 1>c:\boost\boost\dataflow\signals\component\filter.hpp(55) : error C2039: 'result_type' : is not a member of 'boost::function_traits<Function>' 1> with 1> [ 1> Function=processor 1> ] 1>c:\boost\boost\dataflow\signals\component\filter.hpp(55) : error C2146: syntax error : missing ',' before identifier 'result_type' 1>c:\boost\boost\dataflow\signals\component\filter.hpp(55) : error C2065: 'result_type' : undeclared identifier 1>c:\code samples\boost\dataflow\first\first.cpp(11) : error C3203: 'last_value' : unspecialized class template can't be used as a template argument for template parameter 'Combiner', expected a real type 1>c:\code samples\boost\dataflow\first\first.cpp(12) : error C2504: 'boost::signals::filter<Signature,OutSignal>' : base class undefined 1> with 1> [ 1> Signature=processor, 1> OutSignal=void (double) 1> ] This time I'm using MSVC 8 with the updated boost trunk. BTW, why to have your own boost/functional lib? Are you overriding or extending it? Regards, Christian On Tue, Mar 11, 2008 at 10:05 AM, Christian Henning <chhenning@gmail.com> wrote:
Stjepan,
I've MSVC 8 at work and will do the same. I'll keep you posted.
Thanks, Christian
On Mon, Mar 10, 2008 at 11:30 PM, Stjepan Rajko <stipe@asu.edu> wrote:
On Mon, Mar 10, 2008 at 8:02 PM, Christian Henning <chhenning@gmail.com> wrote:
Stjepan,
very good news! I'm glad to see that an important milestone has been reached. This library is of great interest to me. Though, I wasted no time to and started to play around with the library.
Great - thanks for taking the time!
As a start I'm trying to get the simple example compiled which can be found in your documentation:
http://dancinghacker.com/code/dataflow/dataflow/introduction/dataflow.html
But unfortunately including #include <boost/dataflow/signals/component/filter.hpp>
brings my compiler to explode. Here are a list of the first few errors produced:
[snip errors]
I'm working with the boost trunk and use the MSVC compiler 7.1. I think I remember those errors from an earlier attempt to compile the dataflow lib. Is it my compiler or is my fusion version outdated. Although, as I mentioned I'm working with the trunk.
Sorry this didn't take you very far. I should have mentioned that I only tested with GCC 4.0.1 (OS X) and MSVC8, and I'm not sure how the lib behaves on other platforms. I might find a machine that has 7.1 on it - if I do I'll see if I can get the lib to run on it. I am testing against boost trunk, so you're good on that at least.
There's a decent chance I might have more info tomorrow - I'll keep you posted.
Kind regards,
Stjepan _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost