This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Enable __declspec for Linux/x86
On Mon, Apr 02, 2007 at 03:11:06PM -0700, Andrew Pinski wrote:
> On 4/2/07, Joe Buck <Joe.Buck@synopsys.com> wrote:
> >If the Windows version of GCC has to recognize __declspec to function
> >as a hosted compiler on Windows, then the work already needs to be done
> >to implement it. So what's the harm in allowing it on other platforms?
> >If it makes it easier for Windows programmers to move to free compilers
> >and OSes, isn't that something that should be supported?
>
> The only problem is that we have to be bug compatiable with all
> __declspec issues and having no documentation is going to make this
> harder. This is why Intel/AMD really should define a real language
> extension documentation for programming for SSE.
I believe __declspec in Intel C++ compiler comes from:
http://msdn2.microsoft.com/en-us/library/dabb5z75.aspx
H.J.