Unable to compile on 3.9.0 on MacOS Mojave
Brought to you by:
solbu
Hello - I am attempting to compile grip on MacOS Mojave with macports installed gnome and Xcode toolchain. The package configure script completes successfully, however the compile fails with the following errors:
cdplay.c:1556:11: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
if((mode==PM_PLAYLIST)) {
~~~~^~~~~~~~~~~~~
cdplay.c:1556:11: note: remove extraneous parentheses around the comparison to silence this warning
if((mode==PM_PLAYLIST)) {
~ ^ ~
cdplay.c:1556:11: note: use '=' to turn this equality comparison into an assignment
if((mode==PM_PLAYLIST)) {
^~
=
cdplay.c:2046:40: error: use of undeclared identifier 'MAILER'
g_snprintf(mailcmd,256,"%s < %s",MAILER,filename);
^
2 errors generated.
make[2]: *** [cdplay.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I think some of these can be tuned out with the right warnings suppressing - but the last on regarding the undefined identifier needs more attention. Can you help point me in the right direction?
Thanks,
Rett
You can use «--disable-werror» as option to configure, which will turn the errors into warnings.
Fixed in the comming release.