Const char foo[] = "gives me an error"

That IS the proper solution.

1 Like