Build of src/bitset.cpp fails due to undeclared macro in include/rw/_strref.h
-----------------------------------------------------------------------------

         Key: STDCXX-95
         URL: http://issues.apache.org/jira/browse/STDCXX-95
     Project: STDCXX
        Type: Bug
  Components: Build  
 Environment: bash-2.05a$ uname -a
Darwin Metropolis.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 
2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh powerpc
bash-2.05a$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 
(prerelease)
    Reporter: Andrew Black


When trying to build on Mac OS X 10.2.8 (GCC 3.1), a compile failure occurs

gcc -c -I/Volumes/Orion/Work/stdcxx/include/ansi -D_RWSTD_USE_CONFIG 
-I/Users/blackaw/Documents/Work/stdcxx//include 
-I/Volumes/Orion/Work/stdcxx/include -pedantic -nostdinc++ -Wall -W -Wcast-qual 
-Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align 
/Volumes/Orion/Work/stdcxx/src/bitset.cpp
In file included from /Volumes/Orion/Work/stdcxx/include/rw/_strref.h:31,
                 from /Volumes/Orion/Work/stdcxx/include/string:36,
                 from /Volumes/Orion/Work/stdcxx/include/bitset:27,
                 from /Volumes/Orion/Work/stdcxx/src/bitset.cpp:24:
/Volumes/Orion/Work/stdcxx/include/rw/_traits.h: In static member function
   `static int std::char_traits<wchar_t>::eof()':
/Volumes/Orion/Work/stdcxx/include/rw/_traits.h:337: `_RWSTD_WEOF' undeclared
   (first use this function)
/Volumes/Orion/Work/stdcxx/include/rw/_traits.h:337: (Each undeclared 
identifier is reported only once for each function it appears in.)
make[2]: *** [bitset.o] Error 1
make[1]: *** [lib] Error 2
make: *** [libstd] Error 2

A related warning that occurrs during configuration is
In file included from /Volumes/Orion/Work/stdcxx/src/wcodecvt.cpp:42:
/Volumes/Orion/Work/stdcxx/include/ansi/wchar.h:192:33: ../include/wchar.h: No 
such file or directory

Configure.h and output from make process available upon request.

(Initially reported to stdcxx-dev list in 
http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200601.mbox/[EMAIL
 PROTECTED] )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to