[Live-devel] Compiler warnings
Glen Gray
slaine at slaine.org
Fri Apr 3 02:13:02 PDT 2009
Hey Guys,
Working on a idea for a project and compiled up live on my Fedora 10
box, with gcc version 4.3.2
Noticed a tone of warnings such as ...
"warning: deprecated conversion from string constant to ‘char*’"
This is from passing a "string" to a function that's expecting a
char*. Can be cleaned up in 2 ways
1) "Fix" function prototypes from "char *" to "const char *" as
appropriate
2) Add -Wno-write-strings to the CFLAGS in the Makefiles to suppress
the warnings.
Which would be deemed suitable Ross ?
--
Glen Gray
slaine at slaine.org
More information about the live-devel
mailing list