[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug-gmp post from address@hidden requires approval

From: bug-gmp-owner
Subject: bug-gmp post from address@hidden requires approval
Date: Wed, 25 Apr 2007 15:27:27 -0400

As list administrator, your authorization is requested for the
following mailing list posting:

    List:    address@hidden
    From:    address@hidden
    Subject: build 'make check' in tests/cxx: error in tests.h (HAVE_SSTREAM 
configure bug)
    Reason:  Post by non-member to a members-only list

At your convenience, visit:
to approve or deny the request.
--- Begin Message --- Subject: build 'make check' in tests/cxx: error in tests.h (HAVE_SSTREAM configure bug) Date: Wed, 25 Apr 2007 21:22:48 +0200 (MET DST)
gmp-4.2.1 build aborts during 'make check' in tests/cxx/
because HAVE_SSTREAM is not set in line 421 of file tests/tests.h
(see output below).
Error during configure? Header file with definition of HAVE_SSTREAM
not included?

Workaround for my system: Replace
  #if 1
then everything works and all tests PASS.

Looking at the whole directory tree closer with grep, the only two
files which contain HAVE_SSTREAM are the above tests/tests.h
and the file, which has only '#undef HAVE_SSTREAM'
However, sstream is standard nowadays according to the gcc-4.1.2 messages.

Best regards,

Version:           GMP version 4.2.1
Test program:      none necessary (run 'make check' on my platform).
Description:       see above
Screen output:     see below
    setenv CFLAGS = '-O3 -mcpu=supersparc -mno-app-regs'
    setenv CXXFLAGS = '-O3 -mcpu=supersparc -mno-app-regs'
    setenv MPN_PATH " sparc32/v8 sparc32 generic"
    configure \
        --disable-nls \
        --with-gnu-as \
        --with-gnu-ld \
        --enable-static \
        --disable-shared \
        --enable-cxx=detect \
        --enable-mpbsd \
      |& /bin/tee -a "$FILE_LOG" || exit 2
Compiler:          gcc-4.1.2
System:            SunOS workstation 5.6 Generic_105181-14 sun4u sparc 
config.guess:      sparcv9-sun-solaris2.6
configfsf.guess:   sparc-sun-solaris2.6
     has a size of 170 kByte. If you need it, contact me.
     a grep reveals that it doesn't contain any HAVE_SSTREAM.
     (in fact, neither has configure).
     % grep -i STREAM config.log
     Test compile: std iostream

Output of build ('make check'):
gmake[4]: Entering directory 
g++ -DHAVE_CONFIG_H -I. -I/build/gmp-4.2.1/tests/cxx -I../.. -I/build/gmp-4.2.1 
-I/build/gmp-4.2.1/tests    -O3 -mcpu=supersparc -mno-app-regs -c -o t-assign.o 
In file included from 
                 from /build/gmp-4.2.1/tests/tests.h:425,
                 from /build/gmp-4.2.1/tests/cxx/
 warning: #warning This file includes at least one deprecated or antiquated 
header. Please consider using one of the 32 headers found in section 
of the C++ standard. Examples include substituting the <X> header for the <X.h> 
header for C++ includes, or <iostream> instead of the deprecated header 
<iostream.h>. To disable this warning use -Wno-deprecated.
/build/gmp-4.2.1/tests/tests.h:429: error: 'string' does not name a type
gmake[4]: *** [t-assign.o] Error 1

And text from

// WARNING: The classes defined in this header are DEPRECATED.  This
// header is defined in section D.7.1 of the C++ standard, and it
// MAY BE REMOVED in a future standard revision.  You should use the
// header <sstream> instead.

--- End Message ---
--- Begin Message --- Subject: confirm caffb02e9d369e9ba34c572c83f1cc60b3d36d6d
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]