Hi It turns out that the problem went away after upgrading to boost 1.35. I had been using 1.34.1. Thanks. Abhi On Sat, May 31, 2008 at 11:09:44AM +0200, Andreas Huber wrote:
Hi
I am having trouble compiling boost statechart code using gcc 4.3.0. I tried this on the +sample program on statechart site and get the same errors. The errors are of the type
error: value-initialization of reference
for each process_event call in the example:
myWatch.process_event( EvStartStop() ); myWatch.process_event( EvStartStop() ); myWatch.process_event( EvStartStop() );
Not sure why this happens on your system. The currently released version is the same as the one in the trunk and the trunk tests for gcc 4.3 clearly say that the example compiles just fine, see the cell at the intersection of "StopWatchExample" and "gcc- 4.3.0":
http://www.boost.org/development/tests/trunk/developer/statechart.html
Does anyone have a suggestion on how to fix this?
Not with the currently available info. On what OS are you, what is the command line & what is the exact compiler output?
Regards,
-- Andreas Huber
When replying by private email, please remove the words spam and trap from the address shown in the header.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Abhinandan Jain, Ph.D. Dynamics and Real-Time Simulation (DARTS) Lab Mobility and Robotic Systems Section Jet Propulsion Laboratory 4800 Oak Grove Drive, Pasadena, CA 91109 (818)-354-3412 (818)-393-5007 (fax)