This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Dgnu_{linux,hurd}




--On Monday, April 15, 2002 03:06:54 PM -0400 Christopher Faylor 
<cgf@redhat.com> wrote:

> On Sat, Apr 13, 2002 at 11:49:29PM -0700, Zack Weinberg wrote:
>> On Sat, Apr 13, 2002 at 01:56:38PM -0700, Mark Mitchell wrote:
>>> --On Saturday, April 13, 2002 09:52:49 PM +0100 "Joseph S. Myers"
>>> <jsm28@cam.ac.uk> wrote:
>>> >
>>> > How about also getting rid of all nonreserved predefined symbols, on
>>> > the mainline?  (And deprecating them in the 3.1 release notes.)
>>> > Users have known since 1989 that symbols in the reserved namespaces
>>> > should be used, e.g. __unix__ not unix.
>>>
>>> I agree with this suggestion.
>>
>> Patch follows.  Bootstrapping now.  The long, boring part has been
>> gzipped to fit under the message size limit.  I updated a few
>> old-syntax -A switches while I was at it.
>>
>> Let's have only __gnu_{linux,hurd}__ in 3.1, since they are new.
>
> We don't have an option as far as Windows is concerned.  We really do
> need to define WINNT, _cdecl, and _stdcall if we want to continue
> to build Windows apps.

Ah, good point.  Zack's doing some other updating of the patch anyhow,
so I think that taking out these changes shouldn't be too hard.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]