delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/24/22:26:08

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
From: Shayne Steele <steele AT cs DOT fsu DOT edu>
Message-Id: <200010250225.WAA26542@xi.cs.fsu.edu>
Subject: unwanted compiler warnings with -pedantic
To: cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 24 Oct 2000 22:25:15 -0400 (EDT)
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0

Hello

        I recently upgraded from B20.1 to the net release 1.1.x.
My GCC compiler options include -Wall -pedantic.  My program use to
compile with no errors or warnings, but after the upgrade (and modifying
my makefile to point to the new locations of the libraries) I got a lot
of 'extra' warnings, such as:

c:/cygwin/usr/include/mingw32/stdlib.h:349: warning: ANSI C does not
support `long long'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/mmsystem.h:1195:
warning: ANSI C doesn't support unnamed structs/unions
usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winbase.h:814:
warning: ANSI C doesn't support unnamed structs/unions
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winnt.h:2269:
warning: ANSI C doesn't support unnamed structs/unions

These warnings are annoying, how do I get rid of them?  I just want
warnings on the code I wrote.  I want to keep using the net release and
the -pedantic option (if at all possible).

        Thank you for your help.
-- 
Shayne Steele	    Graduate Student in Computer Science at FSU
steele AT cs DOT fsu DOT edu   http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee

--
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