CGAL & nvcc

I’d like to use CUDA + CGAL in my app, but nvcc would not compile my program.

For instance the following simple program would not compile:

[codebox]#include <CGAL/basic.h>

int main (void)

{

}[/codebox]

nvcc 2.2 produced the following error messages:

/usr/include/boost/mpl/aux_/integral_wrapper.hpp:84: error: expected unqualified-id before ‘[’ token

/usr/include/boost/function/function_base.hpp:241: error: `&' cannot appear in a constant-expression

and nvcc 3.0 produced just one error message:

/usr/include/boost/mpl/aux_/integral_wrapper.hpp:84: error: expected unqualified-id before ‘[’ token

Additional information about my system:

    Fedora Core 10

    CGAL 3.3.1

    g++ 4.3.2

Does anyone have a similar experience and have a solution to this problem?