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
The only reason you get the warning is that you're using g++, not gcc. In pure C, you'd get absolutely no warnings. It's actually quite difficult to create warning-free C++ code from this. To be honest, I tried but did not succeed.
These hurdles are one of the reasons for the existence of a certain philosophical school. See more here.