[Live-devel] Compiler warnings

Glen Gray slaine at slaine.org
Fri Apr 3 06:46:01 PDT 2009


Looking back at the archives, I see that Erik Hovland submitted a big  
patch for something similar.


On 3 Apr 2009, at 10:13, Glen Gray wrote:

> 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
>
>
>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

--
Glen Gray
slaine at slaine.org






More information about the live-devel mailing list