www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/11/01:29:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 11 Sep 2008 01:28:24 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: New experimental package: gcc4-4.3.0-1
Message-ID: <20080911052824.GA8377@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <001001c91336$91e70d10$9601a8c0 AT CAM DOT ARTIMI DOT COM> <48C86CB3 DOT 8090909 AT byu DOT net>
MIME-Version: 1.0
In-Reply-To: <48C86CB3.8090909@byu.net>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

This is slightly off-topic but I just built a cross-compiler using the
sources from this package.  Either it is mishandling the
dllimport/dllexport variable keywords or I'm misunderstanding something:

strsig.cc:60: warning: 'sys_sigabbrev' redeclared without dllimport attribute: previous dllimport ignored

include/cygwin/signal.h:extern const char __declspec(dllimport) *sys_sigabbrev[]
strsig.cc:const char __declspec(dllexport) * sys_sigabbrev[]

I thought that was the above was the way it was supposed to work.

I haven't tried this with the actual released compiler yet but, assuming
it works the same way, mm I wrong or is there something wrong with this
compiler?  The code it creates seems to be correct (and Cygwin is
noticeably smaller) but I'd like to get rid of all of the new warnings.
I can't get rid of this one because I don't see how to do that.

cgf


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