Article View: news.software.nntp
Article #73267Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10
From: Ian Collins
Date: Sat, 18 Feb 2006 08:10
Date: Sat, 18 Feb 2006 08:10
38 lines
3504 bytes
3504 bytes
Russ Allbery wrote: > In news.software.nntp, Eric Edwards <ese002@news9.exile.org> writes: > > >># gmake >>cd include && gmake all >>gmake[1]: Entering directory `/local/app/inn-2.4.2/include' >>../support/mksystem /usr/bin/awk config.h > inn/system.h >>../support/mkversion '2.4.2' '' > inn/version.h >>gmake[1]: Leaving directory `/local/app/inn-2.4.2/include' >>cd lib && gmake all >>gmake[1]: Entering directory `/local/app/inn-2.4.2/lib' >>gcc -g -O2 -I../include -c setproctitle.c >>In file included from ../include/inn/defines.h:50, >> from ../include/config.h:20, >> from setproctitle.c:15: >>/usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment." >>In file included from setproctitle.c:19: >>../include/inn/messages.h:73: error: syntax error before "bool" > > > Wow, it sure sounds like Solaris 10 did something hideously stupid with > their headers. I don't have a Solaris 10 system around to look at; what > sort of magic is one supposed to use to convince Solaris that when I ask > for a definition of bool, I really want a bool? > The comment in the file says: * Included for alignment with the ISO/IEC 9899:1999 standard. The * contents of this header are only visible when using a c99 * compiler, otherwise inclusion of this header will result in a * forced compilation failure. gcc isn't a C99 compiler. -- Ian Collins.
Technical Details
Message-ID:
<1140250253.11999@drone2-svc-skyt.qsi.net.nz>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.clear.net.nz!news.clear.net.nz.POSTED!not-for-mailReferences:
<slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <1140250253.11999@drone2-svc-skyt.qsi.net.nz> Subject: Re: INN 2.4.2 fails to compile with gcc 3.4.2 on Solaris 10 Date: Sat, 18 Feb 2006 21:10:51 +1300 From: Ian Collins <ian-news@hotmail.com> References: <slrndvdg03.44o.ese002@spica.exile.org> <87y809qiht.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.solaris.mbox.zip!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newscon02.news.prodigy.com!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.clear.net.nz!news.clear.net.nz.POSTED!not-for-mail NNTP-Posting-Date: Sat, 18 Feb 2006 02:10:56 -0600 User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7b) Gecko/20040322 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp,comp.unix.solaris In-Reply-To: <87y809qiht.fsf@windlord.stanford.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: Customer of Mercury Telecommunications Ltd Cache-Post-Path: drone2-svc-skyt.qsi.net.nz!unknown@202-89-155-106.ubs.qsi.net.nz X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) X-Original-NNTP-Posting-Host: drone2-svc-skyt.qsi.net.nz X-Original-Trace: 18 Feb 2006 21:10:53 +1300, drone2-svc-skyt.qsi.net.nz Lines: 37 NNTP-Posting-Host: 203.97.37.6 X-Trace: sv3-Nf0gwIkE1JE+by6+hSaeJYNHSvES/yXQ6nFw4UOvRXndbW80OgNImiY1E8I8y5mgHk9DICiRCXwYJHb!Tbrgl8Kseo8FV/hn801HUcKd43FIq18rcmTOHNVHmzWwgpF5kRmE5iB7cH4SiU521Rao3j56kyjm!5+zvln5l X-Complaints-To: Complaints to abuse@clear.net.nz X-DMCA-Complaints-To: Complaints to abuse@clear.net.nz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32