2

I have a struct:

struct Adjacent_signs
{
    char signs[] =  { '+','-','*','/' };
};

I'm trying to compile it with newest intel's compiler and I'm getting following error: error : assertion failed at: "shared/cfe/edgcpfe/decl_inits.c", line 2034 So I went there and found:

    //
// TEMPLATE CLASS vector<bool, Alloc> AND FRIENDS
//
typedef unsigned int _Vbase;    // word type for vector<bool> representation
const int _VBITS = 8 * sizeof (_Vbase); // at least CHAR_BITS bits per word

What I'm curious is: What on earth is wrong with my code and why I'm getting assertion failure for totally unrelated vector type?

Thank you.

danijar
  • 32,406
  • 45
  • 166
  • 297
There is nothing we can do
  • 23,727
  • 30
  • 106
  • 194

0 Answers0