I am working on MacOS-X Lion with GCC 4.2. This code works, but I get a warning I would like fix:
#include
main()
{
char *args[] = {\"/b
You are converting a string constant to a mutable character pointer, change using an implicit cast, the compiler is warning you that newer versions of the language will not allow this cast.
When defining a string litteral c++ understands it to mean a constant character array you have defined it as a mutable character array, change your code accordingly.