emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preprocessor defines in MS-Windows build


From: David Robinow
Subject: Re: Preprocessor defines in MS-Windows build
Date: Sun, 8 Jun 2008 21:55:44 -0400

On Sun, Jun 8, 2008 at 2:36 AM, Eli Zaretskii <> wrote:
>> From: =?iso-8859-1?Q?=D3scar_Fuentes?= <address@hidden>
>> Date: Sun, 08 Jun 2008 01:53:29 +0200
>> I quick check for VC6 does not find i386. _X86_ is in WINDOWS.H
>
> Sorry, I don't see any significance of this for MSVC.  Jason, are you
> saying that compiling _any_ program with cl, the MS compiler,
> _requires_ the -Di386 and -D_X86_ switches?  I don't think so.  If
> not, then why do we need to tell cl it is compiling an x86 program? it
> should know that by default.
>
> Can someone with MSVC please see if removing these two switches causes
> any trouble?
 Removing -Di386 does not seem to cause a problem   (MSVC 2003). That
is, I've been running the result for 5 minutes.

I haven't tried compiling without _X86_ yet.
 i386 is not present in any of the standard include files. _X86_
appears in several places.

_X86_ is not present by default.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]