I'm trying to use getopts_long to process command line arguments. I need to setup an option array to pass to getopts_long. But when I compile I get the error.
wbadinitl: String literal converted to char* in initialization
The type of a string literal is constchar* so if you change it to that in your struct, it should be fine. Oddly, compilers don't usually complain about this problem..