Date: Mon, 29 Dec 2014 10:30:47 +0100 From: "A.J. 'Fonz' van Werven" <freebsd@skysmurf.nl> To: Dimitry Andric <dim@FreeBSD.org> Cc: FreeBSD ports mailing list <freebsd-ports@freebsd.org> Subject: Re: [x11-wm/fvwm2] Build failure with Clang Message-ID: <20141229093047.GA3583@spectrum.skysmurf.nl> In-Reply-To: <4F54394C-79C8-4471-B82A-250FC950F9DA@FreeBSD.org> References: <20141226203851.GA833@spectrum.skysmurf.nl> <4F54394C-79C8-4471-B82A-250FC950F9DA@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dimitry Andric wrote: >> now building x11-wm/fvwm2 with Clang fails with a linking error at >> FvwmGtk. But with lang/gcc48 it rather strangely builds just fine. >=20 > I've tried building this port with various options enabled and disabled, > but I cannot reproduce your linking errors. If I would have to guess, I > would say that either Fvwm or gtk headers are using inline functions, > and are counting on "gnu89" inline semantics. >=20 > If that is the case, you can try to add the following line to > x11-wm/fvwm2/Makefile: >=20 > USE_CSTD=3D gnu89 Thanks, that did fix it. I still find it puzzling, though. As far as I can tell, the port itself hasn't changed except for the Imlib and/or PNG dependencies. And those built perfectly fine without USE_CSTD=3Dgnu89. So I'm at a loss as to what could have been changed that makes Fvwm2 suddenly require gnu89. AvW --=20 Imbibo, ergo sum. --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUoR9HAAoJEAfP7gJTaCe8QKcQALFJXxAolLL+Gc03OSqgfuEm +lz0xgYtOAF43hGmfUGIDC6dBkMqQ+QxTst6/rUqFqAAlDxL6tEBnOeW8rAQvmE6 be9NDxX5RN6ftGOfpGESgb2+RZWT9qvGXqHMvTNZN4SyDlNnQpu3m7pmxiif5B85 mqKVNgMwelFCDApWbryErvRtI01prisXWVYJnXE4CTwPfZ7mE+Xh8Ql1VrNVXPgO hBgIxLYaXtTTZwbF0pY6UvjN562BRde3R4fUYkr5oUT6VCOMDhzxjzNOHihPl6Ep ohHpjrsoOOqtjin5BrlUzX6ahsHngJNXKlMkx0cIyTPYnRSLn3DpO3oDeTxhwj50 DtedQSYPp+jyQfCVNFiu6uk6okTPcGPQwnvy6HId+5qPYRnJ5U2XOhP5N6Ext13y SQT/G/oyJvfexOwboKuhcjdVn4Bu03LoyA9tDFxnhq7OM8L6pupKwqYR0wuqLwwd SeXK4RL2xsOFpNgh1y8UbfmoLUcW4hv9V7gB4a1fAfiib+kl6RlyDeB87iHBwWv7 Wnsf12NmrwbGeNqJjBJwz71Lj7FBZJp3WsLcysW0gWiXKKl5v7o9jd0e276w1/OS /sef0fLCE9t3VSbvlwsnehhxFRy8oIk9ZbzESkSPpmFkalSgSh+NhuS0kwP+dzta wMgkmOfezusqtRwtHrNz =DSml -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141229093047.GA3583>