>>   demo/undocumented/csg/cpp/main.cpp: In function ‘int main()’:
>>   demo/undocumented/csg/cpp/main.cpp:37:44: error: no match for
>> ‘operator-’ in ‘c - r’
>>   demo/undocumented/csg/cpp/main.cpp:37:44: note: candidates are:
>>   /usr/include/gmpxx.h:3133:106: note: template<class T, class U>
>> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_unary_minus> >
>> operator-(const __gmp_expr<T, U>&)
>
> Strange. It builds fine here. Does it help to include
> <dolfin/generation/CSGOperators.h> ?

Yes! Thanks! And, as it turned out, I was picking up the wrong (from
trunk) dolfin.h, which explains the missing include. All good now!

-j.

_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp

Reply via email to