Subject: Re: How do I avoid buying MSVC++?
From: [email-masked] (Mumit Khan)

2 Jan 1999 22:08:12 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Max Hadley <[email-masked]>
Cc: Cygwin mailing list <[email-masked]>

On Sat, 2 Jan 1999, Max Hadley wrote:

> when not to. Also on his/her advice:
> 
>     #define _declspec(A) extern

Actually, gcc does support __declspec, but not _declspec. Microsoft
uses _declspec as a synonym for __declspec, but suggests that you
use __declspec in the documentation.

Use the following:
   
   #define _declspec(x) __attribute__((x))

and that should fix the global problem.

fyi, GCC's "specs" define __declspec as the following:

   #define __declspec(x) __attribute__((x))

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".