delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/16/10:36:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <399AA81F.A3D2CACA@heliosam.fr>
Date: Wed, 16 Aug 2000 16:41:35 +0200
From: Hubert Tonneau <hubert DOT tonneau AT heliosam DOT fr>
Organization: heliosam.fr
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.15 i686)
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
Subject: Incorrect handling of __stdcall when -mregparm=3 -mrtd GCC flags are set

I compiled Pliant (http://pliant.cx/) using Cygwin GCC.
Under Linux, I use GCC 2.95 registers calling convention
(-mregparm=3 -mrtd) because it's faster, but under Windows
I cannot use it, since it makes Win32 kernel functions calls
buggy.
The reason is that __stdcall, which is used by WINAPI macro,
does not desable registers calling convention, whereas is
should since WINAPI is compiler independant.

Regards,
Hubert Tonneau

Please, cc answers to me since I have not subscribed this mailing list.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019