delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <20030508115114.18763.qmail@web21414.mail.yahoo.com> |
Date: | Thu, 8 May 2003 21:51:14 +1000 (EST) |
From: | =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz> |
Subject: | RE:1.3.22,w2k: conflicting types after mingw runtime update (to 3.0-1) |
To: | cygwin AT cygwin DOT com, alexander DOT mader AT niles DOT de |
MIME-Version: | 1.0 |
From: "Mader, Alexander" > Hallo, > > today I ran an update which happened to affect mingw runtime. The result is a bunch of warnings with gcc-2 but not with gcc: > > > mader AT L201$ gcc -c -W -Wall -std=c9x -pedantic -fpack-struct > -mrtd -mno-cygwin EinMitten.c ^^^^^^ > > > mader AT L201$ gcc-2 -c -W -Wall -std=c9x -pedantic -fpack-struct > -mrtd -mno-cygwin EinMitten.c > In file included from EinMitten.c:5: > /usr/include/mingw/stdlib.h:383: warning: conflicting types for > built-in function `abs' > > The warning is harmless. On 3.x the #pragma gcc system_header disables it. Read more at GNATS database http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc in PR9601 [i386] -mrtd switch/stdcall attribute raises warnings for __builtin functions The __cdecl attribute in headers cause the warning when used with -mrtd. If the __cdecl qualifiers were not in headers, you would have even bigger problems with -mrtd, since the libarary functions would be treated as stdcall as well. Danny http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |