delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/06/10:56:28

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: "'Aaron Gray'" <angray AT beeb DOT net>, <cygwin AT cygwin DOT com>
Cc: "'GCC'" <gcc AT gcc DOT gnu DOT org>
References: <2b2c01c78fa5$d94a27c0$0200a8c0 AT AMD2500> <01f001c78fc6$c916ce00$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <005501c78fe3$b1a9ec80$0200a8c0 AT AMD2500>
Subject: RE: Successful build of GCC 4.2.0 RC3 on latest Cygwin snapshot 20070427
Date: Sun, 6 May 2007 15:54:26 +0100
Message-ID: <022501c78fee$71302ec0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <005501c78fe3$b1a9ec80$0200a8c0@AMD2500>
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

On 06 May 2007 14:37, Aaron Gray wrote:

> On the LLVM build I am getting multiple :-
> 
>     warning: visibility attribute not supported in this configuration;
> ignored
> 
> with the same line number, eight or so in some cases but usually two.
> 
> Have not looked into this properly yet, I missed it earlier when first
> building but on rebuilding have captured it in a log file for thurther
> examination.

  IIUIC, the visibility attribute is only relevant to ELF targets, which
cygwin is not.  Hence the warnings, while seemingly redundant, are at least
accurate[*].  The visibility attribute needs wrapped in a macro that can be
undef'd on non-ELF systems.

> I can put together a test example if required.

  If you can produce once that shows excess warnings being emitted, yes, that
would be worth filing a PR.  Hmm, a quick test I couldn't get excess ones, but
the line numbers all look wrong..

    cheers,
      DaveK

[*] - and without seeing the actual code I don't even know that there aren't
that many attributed decls on the same line...
-- 
Can't think of a witty .sigline today....


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