πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87019

Re: Upgrading from 2.6.0rc to 2.6.0

#87019
From: Ray Banana
Date: Mon, 28 Sep 2015 04:32
29 lines
2378 bytes
Thus spake Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid>
 
>> Going from 2.6.0rc1 to the release version, I noticed that the release
>> version doesn't compile with gcc 4.4.7 any more.
>> error: #pragma GCC diagnostic not allowed inside functions
> Are you using "make warnings" or -Werror in your compile flags?

No.

diff -y --suppress-common-lines ./lib/getmodaddr.c ../inn-2.6.0rc1/lib/getmodaddr.c
/*  $Id: getmodaddr.c 9911 2015-07-04 21:32:56Z iulius $      |	/*  $Id: getmodaddr.c 9143 2010-10-29 22:39:13Z iulius $
#pragma GCC diagnostic ignored "-Wformat-nonliteral"	      <
#pragma GCC diagnostic warning "-Wformat-nonliteral"	      <
#pragma GCC diagnostic ignored "-Wformat-nonliteral"	      <
#pragma GCC diagnostic warning "-Wformat-nonliteral"	      <

> I manage to build fine INN on my old Etch with gcc 4.1.2.

This is gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)  

Seems to be a peculiarity in gcc 4.4.x ff. 

cc (GCC) 4.7.2 20121015 (Red Hat 4.7.2-5) is OK.

-- 
Time flies like an arrow, fruit flies like a Banana.
http://www.eternal-september.org

Technical Details
Message-ID: <m2y4frqi2t.fsf@banana.shacknet.nu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <mu5f1s$sae$1@news.bbs.geek.nz> <mu5ilg$amc$1@news.trigofacile.com> <mu5sql$6eh$1@news.bbs.geek.nz> <mu8314$1l7$1@news.bbs.geek.nz> <mu8ekr$ijq$1@news.trigofacile.com> <m2bncnhgd9.fsf@banana.shacknet.nu> <mu9drk$lfk$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <m2y4frqi2t.fsf@banana.shacknet.nu>
Subject: Re: Upgrading from 2.6.0rc to 2.6.0
Date: Mon, 28 Sep 2015 06:32:58 +0200
From: Ray Banana <rayban@banana.shacknet.nu>
References: <mu5f1s$sae$1@news.bbs.geek.nz> <mu5ilg$amc$1@news.trigofacile.com> <mu5sql$6eh$1@news.bbs.geek.nz> <mu8314$1l7$1@news.bbs.geek.nz> <mu8ekr$ijq$1@news.trigofacile.com> <m2bncnhgd9.fsf@banana.shacknet.nu> <mu9drk$lfk$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient spider
Lines: 27
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
Injection-Info: banana.shacknet.nu; posting-host="89591f491116fd3614d5dc547df37df6";
 logging-data="30720"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Xhx/f/LIsaFoJJcLftkO4xFViluO25wg="
User-Agent: Plonkenlights
Cancel-Lock: sha1:K0C4TuJKskADBfJ4E/IHurzEGlU=
 sha1:TsX9+HAEwiuNhsLHAEXJETxqJ0g=
X-Attribution: Ray Banana
X-Received-Body-CRC: 545016191
X-Received-Bytes: 2406