Community
cancel
Showing results for 
Search instead for 
Did you mean: 
David_M_24
Beginner
67 Views

Compiler error

This project builds with MSVC, MinGW and Clang but fails on intel C++ 16.

The source is located at: https://github.com/djmott/wtf

The error is: error : assertion failed at: "shared/cfe/edgcpfe/ms_lower_name.c", line 1715

Please advise.

 

0 Kudos
1 Reply
Judith_W_Intel
Employee
67 Views

 

I have reduced it to the small example below. It seems to be a problem when we are mangling template template arguments.

I have entered this in our bug tracking database as DPD200415270.

It is still a problem in our current development compiler. Thanks for reporting it to us.

Judy

// reduced example below gets an internal error in ms_lower_name.c

template <typename,
          template <typename, typename> class ... > struct base_window;

template <typename _ImplT,
          template <typename, typename> class ... _PolicyListT>
struct window_impl {};

template <typename _ImplT, template <typename, typename> class _HeadT,
          template <typename, typename> class ... _TailT>
struct base_window<_ImplT, _HeadT, _TailT...>
     : _HeadT<base_window<_ImplT, _TailT...>, _ImplT>
{
   using _super_t = _HeadT<base_window<_ImplT, _TailT...>, _ImplT>;
   virtual ~base_window();
   base_window():  _super_t() {}
};


template <typename _ImplT,
         template <typename, typename> class ... _PolicyListT>
struct window :  window_impl<_ImplT, _PolicyListT...>
{};

 

 

Reply