[PATCH 2/2] winegstreamer: Make some strings static constants.

Alex Henrie alexhenrie24 at gmail.com
Fri Nov 18 09:25:59 CST 2016


2016-11-18 8:18 GMT-07:00 Andrew Eikum <aeikum at codeweavers.com>:
> This adds a bunch of warnings for me:
>
> main.c:69:9: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>  {   {   wNull,
>
> main.c:273:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>          argv[0] = argv0;
>                  ^
> main.c:274:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
>          argv[1] = argv1;
>
> Andrew

Okay, I can see the warnings now. Turns out I wasn't actually
compiling with GStreamer support; I think ./configure had been rerun
automatically and so I needed to run
`PKG_CONFIG_PATH=/usr/lib32/pkgconfig ./configure`. Thanks for
catching this mistake.

-Alex



More information about the wine-devel mailing list