Re: wip/fs-uae and PySide
Rhialto <[email protected]> Tue, 12 Nov 2013 22:32:45 +0100
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
--===============3384457736214623166== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V4b9U9vrdWczvw78" Content-Disposition: inline --V4b9U9vrdWczvw78 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue 12 Nov 2013 at 17:41:38 +0100, Rhialto wrote: > It must be the line "#if __STDC__ || defined(__cplusplus)" where the > condition evaluates to false instead of true. Bug reported at https://bugreports.qt-project.org/browse/PYSIDE-206 . It turns out that macro expansion is done before the evaluator sees these tokens, so the preprocessed line looks like #if || defined(__cplusplus) which is a syntax error and evaluates to false. It seems that the code which suppresses macro expansion following the word "defined" is always active, and not just in preprocessor directives. But that is another bug (I haven't verified it). The patch is simple (#define __STDC__ 1). -Olaf. --=20 ___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for \X/ rhialto/at/xs4all.nl -- 'this bath is too hot.' --V4b9U9vrdWczvw78 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (NetBSD) iQEcBAEBAgAGBQJSgp59AAoJEJmJxkVhw/vTh20IAL7UqD7ld881OZXMc2/OGOIa KEfIkh1WsutwoT8nz/sh5kAcmqcrK66FMbmtQ3ai933SPnUnxdpFx+C2pMicj9BP a2k0uBgSnoLDqC2NJjlb4m3t+l5yNftweK8VPKfLKplOcEWoIx5i05y5vGqL2/oy dfoqbhBuj7JMHVeMGWkzu/CLcSfZJTzjgS3XKMlvsJrccCSuS9VGhh8ogVFXePGi Y0SzJTKXppz0HZcbvxWgDrdNXCJR5EfaYoHCQcLLzhwDQMb9tSAJJoYpCC99EyxS jg1VMw1DP0TYc+gMsabLUS1qt0nB09AoGCK16ZockiBbaWPO8/Nm9AUp+TjPNDU= =JvRW -----END PGP SIGNATURE----- --V4b9U9vrdWczvw78-- --===============3384457736214623166== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk --===============3384457736214623166== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pkgsrc-wip-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss --===============3384457736214623166==--