This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Warning : How to remove it

I have used this:

cont uint8_t *x[] = {
"a",
"b"
}

compiler don't generate warning but UV4.70 has warning flag on left side
"initializing const uint8_t * with an expression of type char[] converts b/w pointer to inetegr of different sign"

How to avoid this.

Parents
  • Can some one provide way to remove warning:

    const uint8_t *my_data[] = { {""}, {"INT"}, {"SIN"}, {"AXI"}, {"CON"}, {"ST "}, {"NOR"}, {"..."},

    };

    warning: braces around scaler initializer

    warning: ..............(As I written in original post)

Reply
  • Can some one provide way to remove warning:

    const uint8_t *my_data[] = { {""}, {"INT"}, {"SIN"}, {"AXI"}, {"CON"}, {"ST "}, {"NOR"}, {"..."},

    };

    warning: braces around scaler initializer

    warning: ..............(As I written in original post)

Children