Re: Problematic conflicts between C/C++ and D
Russel Winder <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2017-08-29 at 07:39 -0700, Bill Deegan wrote: > env.get is just like a python dictionary. I can live with that. :-) > the order will depend on the order the tools are loaded into the > Environment().. This is where the problem comes. I think there has to be a single, deterministic loading order and that, to avoid breaking changes, that the cc and c++ tools win for the definition of SHOBJSUFFIX. I am surprised though that there have not previously been more hassles over this as not all C and C++ compilers use .os extension. I think we just have to accept that the default system is broken, and that the GCC toolchain is the winner. We just have to warn dmd and ldc toolchain users that this is the case and that using an explicit rather than implicit/default toolchain, the problem goes away. (gdc is part of GCC Suite and so doesn't have the problem.) The current set of people using SCons for D builds haven't actively complained so there is no real driver for "a fix" other than me wanting it to work. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAlmmrRwACgkQ1L3V0s7N p7hrzg//bs9rfMZMvIr2Ww6oNjOJBOlhrvAGk70y9pZVusNIcdPz8al/wj6SL1R3 MlUnmZA9d+3AF/Nz3MvyCol69KIw2gGwt1BJyezlPNt4zptinrKix57BG42QpR5t sZXNjUZGdkHxcM9tKTpUbbfEYZwJnFSmEf9xkjZ6BvUyuyPeiMymlmyebpHZFrNI cIx6PpoFol+vv/KkH3T7XHwGHZPpzQIEsrV1gf+e9Fx67wgHcCJckGey3M8+s8zU rAJ2KrhrFY1lRAeCdIbB+5XhYwvqvgkweBG4z9cQ68ephrVpt24k/Twck0w16B0C /TEV+T4Zm6nlD9LRA9bLcbgRvjIYPGsB4L67SKoROJPaVSLzrapzWoFyC0LNAqOL Qda46046A26h/ejT7gh5KaR8SWkqIWSSpKcS35pAFbGR0v1eO9i1tlIxbjjCDDxM T0i3LAdPHrQlqoX9B3iHwipy5FPSXh6dlHFiwhd2I/VWkfoTfhM5TIcAlR2YUg5u 8vujVnUfOMmhRh9KPH4cIk3PyA3CykhXJGxs6eHOeDbXp78W2+clonmqVsxCSHOe Jix/7FT2FqSajjO6vOmRjyGg/zaCb6KHCkP0P9wUoWiliGxmTMw6adkDyZKPCx2J bOqKYP+nmoygWNSpcjQnzkwr3ly2YW4XSS29Spm7IonIwfho700= =Ewqt -----END PGP SIGNATURE-----