I have this definitions:
typedef uint8_t myType[16];
costexpr myType x0={1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6};
costexpr myType x1={11,12,13,14,15,16,17,18,19,10,11,12,13,14,15,16};
costexpr myType x2={21,22,23,24,25,26,27,28,29,20,21,22,23,24,25,26};
constexpr myType AllX[]={x0,x1,x2};
compiling this in VS 2015, give me this error:
An internal error has occurred in the compiler.
The intelisense report this error:
a value of type "const uint8_t *" cannot be used to initialize an entity of type "const uint8_t"
How can I fix this problem?
Aucun commentaire:
Enregistrer un commentaire