[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] ECMA compatibility checks - call for discussion
From: |
Fergus Henderson |
Subject: |
Re: [Pnet-developers] ECMA compatibility checks - call for discussion |
Date: |
Sun, 30 Mar 2003 17:15:07 +1000 |
User-agent: |
Mutt/1.3.28i |
On 30-Mar-2003, Rhys Weatherley <address@hidden> wrote:
> The issue of ECMA-compatibility has been raised a couple of times in recent
> weeks, usually as some variant of "should we build pnetlib as ECMA-only to
> prevent DotGNU people using patent-infringine non-ECMA API's?".
>
> I've been thinking about it a bit and have come up with some possible
> options,
> which I'd like to open up to the floor for discussion.
>
> 1. Compile ECMA-only always.
>
> 2. Add a "-ecma" or "-std" flag to the C# compiler which will issue a warning
> whenever a non-ECMA API is used, but the library is otherwise full-blown.
> DotGNU policy would be to always compile with this flag set.
I'd go for 2, but with the default the other way, so that a flag is
needed if you want to use the extensions.
Otherwise people end up accidentally using the extensions without even
realizing it.
--
Fergus Henderson <address@hidden> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.