Boost logo

Boost-Build :

Subject: [Boost-build] Problems with context.hpp
From: rodrigoshaller (rodrigoshaller_at_[hidden])
Date: 2012-11-08 08:11:12


What's up...
I was using an old version of boost/process.hpp and all worked fine.
Now I got the latest version (last update: 2010), but I'm getting this error
message when trying to build my project: [BCC32 Error] context.hpp(124):
E2293 ) expected

The error is from line 124 in (context.hpp)

124 > boost::function<void (STARTUPINFOA&)> setup;

I've started a blank project and the only thing I'm doing is including:
#include <boost/process/context.hpp>

What could be?

I'm using C++ builder XE2.

The full error log:

[BCC32 Error] context.hpp(124): E2293 ) expected
  Full parser context
    Slicer.cpp(6): #include Slicer.h
    context.hpp(41): namespace boost
    context.hpp(42): namespace boost::process
    context.hpp(52): class context
[BCC32 Error] context.hpp(124): E2299 Cannot generate template
specialization from 'function<Signature>'
  Full parser context
    Slicer.cpp(6): #include Slicer.h
    context.hpp(41): namespace boost
    context.hpp(42): namespace boost::process
    context.hpp(52): class context
[BCC32 Error] context.hpp(124): E2270 > expected
  Full parser context
    Slicer.cpp(6): #include Slicer.h
    context.hpp(41): namespace boost
    context.hpp(42): namespace boost::process
    context.hpp(52): class context
[BCC32 Error] context.hpp(124): E2040 Declaration terminated incorrectly
  Full parser context
    Slicer.cpp(6): #include Slicer.h
    context.hpp(41): namespace boost
    context.hpp(42): namespace boost::process
    context.hpp(52): class context
[BCC32 Error] context.hpp(126): E2040 Declaration terminated incorrectly
  Full parser context
    Slicer.cpp(6): #include Slicer.h
    context.hpp(41): namespace boost
    context.hpp(42): namespace boost::process
[BCC32 Error] context.hpp(128): E2190 Unexpected }
  Full parser context
    Slicer.cpp(6): #include Slicer.h
[BCC32 Error] context.hpp(129): E2190 Unexpected }
  Full parser context
    Slicer.cpp(6): #include Slicer.h
Failed
Elapsed time: 00:00:00.9

Regards

--
View this message in context: http://boost.2283326.n4.nabble.com/Problems-with-context-hpp-tp4638362.html
Sent from the Boost - Build mailing list archive at Nabble.com.

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk