Thread View: news.software.nntp
3 messages
3 total messages
Started by Jens Vieler
Thu, 28 Aug 1997 00:00
Re: the snprintf problem on Solaris2.5/INN-1.5.1sec2
Author: Jens Vieler
Date: Thu, 28 Aug 1997 00:00
Date: Thu, 28 Aug 1997 00:00
16 lines
907 bytes
907 bytes
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 ? jens
Re: the snprintf problem on Solaris2.5/INN-1.5.1sec2
Author: Frank 'Scruffy' Miller
Date: Thu, 28 Aug 1997 00:00
Date: Thu, 28 Aug 1997 00:00
35 lines
1441 bytes
1441 bytes
In article <5u3a3h$m4e@ilex.FernUni-Hagen.de>, 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 ? > Arg. Typo: <root 1.5.1-sec*>/snprintf/vfprintf.c Watch out for typing while talking. Frank -- ---------------------------------------------------------------- Frank Miller | frankm@master.cna.tek.com Technical Computing Group Leader | "Laugh while you can, Tektronix CNA Division | monkey-boy!!!!"
Re: the snprintf problem on Solaris2.5/INN-1.5.1sec2
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads