Article View: news.software.nntp
Article #21046Re: the snprintf problem on Solaris2.5/INN-1.5.1sec2
From: och-aye
Date: Thu, 28 Aug 1997 00:00
Date: Thu, 28 Aug 1997 00:00
33 lines
1544 bytes
1544 bytes
Jens Vieler <jens.vieler@fernuni-hagen.de> wrote: :Frank 'Scruffy' Miller (frankm@solaris.cna.tek.com) wrote: :: Change vfprint.f as follows to not 'include' math.h as the local xstdio.h :: is fine: :: #ifdef FLOATING_POINT :: #ifndef sun :: #include <math.h> :: #endif :: #include "floatio.h" :where is vfprint.f ? I think he meant 'vfprintf.c' :) On HP-UX systems there is another glitch building this library. vfprintf.c is not ANSI C, and it won't compile if you're running the rest of the compiles with the ANSI flag turned on. I think the problem is the SNPRINTF_CFLAGS variable *adding* to the CFLAGS value, instead of *replacing* the flags to compile that library. So even if you don't specify -Ae for SNPRINTF_CFLAGS, it's carried through to that subdirectories Makefile. Scotty -- Steve Howie Netnews and Listserv Admin University of Guelph
Technical Details
Message-ID:
<5u43qs$akt@ccshst05.cs.uoguelph.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5u0ne8$ojm@ilex.FernUni-Hagen.de> <5u1iev$1eh@solaris.cna.tek.com> <5u3a3h$m4e@ilex.FernUni-Hagen.de>Show Full Headers
Complete Article Headers
Message-ID: <5u43qs$akt@ccshst05.cs.uoguelph.ca> Subject: Re: the snprintf problem on Solaris2.5/INN-1.5.1sec2 Date: Thu, 28 Aug 1997 00:00:00 +0000 From: och-aye@doon.the.watter References: <5u0ne8$ojm@ilex.FernUni-Hagen.de> <5u1iev$1eh@solaris.cna.tek.com> <5u3a3h$m4e@ilex.FernUni-Hagen.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 268783001 Distribution: inet Organization: Biled heids 'r us Newsgroups: news.software.nntp