https://bugzilla.novell.com/show_bug.cgi?id=226875 ------- Comment #3 from dcb314@hotmail.com 2006-12-08 12:06 MST -------
but isn't this valid C++?
Valid yes, useful no.
we explicitly switched away from these ugly C-isms some time ago :-)
The programmer appears to have made the assumption that the text literal would be promoted to a C++ string type. The compiler indicates with a warning that the assumption is not valid. It appears to me to be yet another case where compiling with -Wall and reviewing the warning messages produced helps reduce the number of bugs. Compile time bugs are a lot easier to find than run time bugs ;-> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.