I do not understand where the error.
why this error message:
initialization from incompatible pointer type.
Help me please, friends.
const struct _displayout_default
{
const char* length;
const char** buf;
}DisplayOut_DEFAULT[2] =
{
{
"02",
(const char*[]){
"01",
"02",
"03",
"04"
}
},
{
"02",
(const char*[]){
"01",
"02",
"03",
"04"
}
}
};
Update:
MPLAB® C Compiler
For PIC32 MCUs
C Standards Information
American National Standard for Information Systems – Programming Language – C.
American National Standards Institute (ANSI), 11 West 42nd. Street, New York,
New York, 10036.
GCC Documents
http://gcc.gnu.org/onlinedocs/
http://sourceware.org/binutils/
Compiler options:
-g -mlong-calls -DNDEBUG -Os
Edit (old answer gone)
Unfortunately, I’m not able to reproduce the message with the same Compiler and same options:
No Errors.
Likewise with
pic32mx-gcc-4.5.1.exe– No Errors.Details:
Source
Compiler version:
version: