octave-maintainers
[Top][All Lists]
Advanced

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

RE: other trouble


From: John W. Eaton
Subject: RE: other trouble
Date: Thu, 16 May 2002 17:30:59 -0500

On 16-May-2002, Lippert, Ross A. <address@hidden> wrote:

| Yes, just one per file, that's right.
| 
| I checked my config.log and it says:
| 
| configure:2920: checking if C++ library is ISO compliant
| configure:2960: /usr/local/gcc/3.0.2/bin/g++ -o conftest -g -O2
| conftest.cc  >&5
| In file included from /usr/local/gcc/3.0.2/include/g++-v3/cwctype:31,
|                  from conftest.h:21,
|                  from configure:2944:
| /usr/local/gcc/3.0.2/include/g++-v3/bits/std_cwctype.h:70: `iswblank'
| not
|    declared
| configure:2963: $? = 1
| configure: failed program was:
| #line 2943 "configure"
| #include "confdefs.h"
| #include "conftest.h"
| int
| main ()
| {
| 
|         std::bitset<50> flags;
|         flags.set();
|         int digits = std::numeric_limits<unsigned long>::digits;
|         digits = 0;
| 
|   ;
|   return 0;
| }
| configure:2987: result: no

OK, I see what is happening now.  The std_cwctype.h file has a

  namespace std {
    ...
    using ::iswblank;
    ...
  };

but the corresponding C header only defines iswblank if __USE_ISOC99
is defined.

Mumit, I did a quick search for this problem and turned up some
messages from you on a gcc list.  Then I looked at the latest
std_cwctype.h file in the libstdc++ CVS archive and it doesn't look
like it has been fixed yet.  Do you know what ever happened to your
report/suggested fix?

For now, I'm just going to omit cwtype from the list of headers to
include in the check (Octave doesn't need that anyway).

jwe



reply via email to

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