[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-builds
Subject:    Re: NSPR compile error
From:       Nick DiRico <ndirico () East ! Sun ! COM>
Date:       1999-05-05 13:28:01
[Download RAW message or body]

Chris, thanks anyways, but I already know NSPR does successfully compile
using the 4.2 compiler.
Has anyone built the NSPR libs using the 5.0 compiler on Solaris?

Thanks,
Nick


Chris McAfee wrote:

> Nick DiRico wrote:
> >
> > I'm having trouble compiling the NSPR libs on Solaris using the 5.0
> > native compilers(streampos and streamoff are not defined).   Has anyone
> > encountered these errors?
> >
> > ~~~~~~
> > CC -Qoption cg -xstrconst -o SunOS5.7_x86_DBG.OBJ/prstrms.o -c  -g -KPIC
> > -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS -Di386 -D_PR_HAVE_OFF64_T
> > -D_REENTRANT -DHAVE_POINTER_LOCALTIME_R  -DFORCE_PR_LOG -D_PR_PTHREADS
> > -UHAVE_CVAR_BUILT_ON_SEM -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root
> > -I/opt/local/SC5_0/nspr/include -I../../../include  prstrms.cpp
> > "prstrms.h", line 55: Error: streampos is not defined.
> > "prstrms.h", line 55: Error: streamoff is not defined.
> > "prstrms.h", line 67: Warning: PRfilebuf::setbuf hides the virtual
> > function std::basic_streambuf<char,
> > std::char_traits<char>>::setbuf(char*, long).
>
> I've only built this with the Workshop 4.2 compiler,
> I can verify that it works with 4.2 if that's any help.
>
> -Chris

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic