www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/12/21:25:50

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
From: "Bart van der Werf \(Bluelive\)" <bluelive AT xs4all DOT nl>
To: <cygwin AT cygwin DOT com>
Subject: Problem when compiling signal.h in GCC with strict ISO C options turned on
Date: Sat, 13 Mar 2004 03:23:50 +0100
Message-ID: <001501c408a2$38f59800$0100a8c0@bluelive>
MIME-Version: 1.0
X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk AT ITBE DOT utwente DOT nl for more information.
X-UTwente-MailScanner: Found to be clean
X-MailScanner-From: bluelive AT xs4all DOT nl
X-IsSubscribed: yes

I get this message a few times when I use gcc with strict settings.
On my own installation I gave the unnamed structs and unions an name and
this seemed to resolve this.
Although this doesn't do more then generate a warning when using a very
strict c compiler it should be resolved i think :)

Message:
/usr/include/cygwin/signal.h:48: error: ISO C doesn't support unnamed
structs/unions

gcc flags:
-ggdb -ansi -W -Wall -Werror -pedantic-errors -O2 -Wformat=2 -Wno-unused
-DPOSIX -DPOSIX_SOURCE

Grtz, Bart van der Werf



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

- Raw text -


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