The following statement compiles perfectly with g++.
But the sun compiler gives me a warning:
"Warning: String literal converted to char* in initialization."
char *bstr =
What is the meaning of this warning? Isnt this statement legal?
Is it not as per coding standards?