atilaneves / dpp

Directly include C headers in D source code
Boost Software License 1.0
231 stars 31 forks source link

Lot of "Untranslatable cursor" for boost::date_time #157

Open mihails-strasuns opened 5 years ago

mihails-strasuns commented 5 years ago

To reproduce:

Create dummy .dpp with a single #include "boost/date_time/gregorian/gregorian.hpp"

Issue:

Wall of text akin to this:

Untranslatable cursor Cursor(ClassTemplatePartialSpecialization, "__array_traits", Type(Unexposed, "__array_traits<type-parameter-0-0, 0>"))
Untranslatable cursor Cursor(CXXBaseSpecifier, "unary_function<typename _Operation::second_argument_type, typename _Operation::result_type>", Type(Unexposed, "unary_function<typename _Operation::second_argument_type, typename _Operation::result_type>"))
Untranslatable cursor Cursor(CXXBaseSpecifier, "unary_function<typename _Operation::first_argument_type, typename _Operation::result_type>", Type(Unexposed, "unary_function<typename _Operation::first_argument_type, typename _Operation::result_type>"))
Untranslatable cursor Cursor(FunctionTemplate, "minmax", Type(FunctionProto, "pair<const _Tp &, const _Tp &> (const _Tp &, const _Tp &)"))

Context:

DPP built from 6cd4201095a4f33c826d518f7a9d89c938221d2f Ubuntu 18.04 LTS libclang 6.0

atilaneves commented 5 years ago

This is probably going to take time to fix. C++ support just isn't ready yet and boost is as bad as it gets.