stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-394) [EDG eccp 3.9/Linux] _RWSTD_SIZE_MAX undefined
Date Thu, 13 Sep 2007 16:47:32 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527166
] 

Martin Sebor commented on STDCXX-394:
-------------------------------------

This a configuration problem: the LIMITS.cpp config test fails to compile with the errors
below:

eccp -c -A -x --template_directory=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s//lib -g  --display_error_number
--remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG
-I. /home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp
"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 603: error #20: 
          identifier "__DBL_DIG__" is undefined
      printf ("#define _RWSTD_DBL_DIG %d\n", DBL_DIG);
                                             ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 607: error #20: 
          identifier "__DBL_MANT_DIG__" is undefined
      printf ("#define _RWSTD_DBL_MANT_DIG %d\n", DBL_MANT_DIG);
                                                  ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 611: error #20: 
          identifier "__DBL_MAX_10_EXP__" is undefined
      printf ("#define _RWSTD_DBL_MAX_10_EXP %d\n", DBL_MAX_10_EXP);
                                                    ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 615: error #20: 
          identifier "__DBL_MAX_EXP__" is undefined
      printf ("#define _RWSTD_DBL_MAX_EXP %d\n", DBL_MAX_EXP);
                                                 ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 619: error #20: 
          identifier "__DBL_MIN_10_EXP__" is undefined
      printf ("#define _RWSTD_DBL_MIN_10_EXP %d\n", DBL_MIN_10_EXP);
                                                    ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 623: error #20: 
          identifier "__DBL_MIN_EXP__" is undefined
      printf ("#define _RWSTD_DBL_MIN_EXP %d\n", DBL_MIN_EXP);
                                                 ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 635: error #20: 
          identifier "__FLT_DIG__" is undefined
      printf ("#define _RWSTD_FLT_DIG %d\n", FLT_DIG);
                                             ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 638: error #20: 
          identifier "__FLT_MANT_DIG__" is undefined
      printf ("#define _RWSTD_FLT_MANT_DIG %d\n", FLT_MANT_DIG);
                                                  ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 642: error #20: 
          identifier "__FLT_MAX_10_EXP__" is undefined
      printf ("#define _RWSTD_FLT_MAX_10_EXP %d\n", FLT_MAX_10_EXP);
                                                    ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 646: error #20: 
          identifier "__FLT_MAX_EXP__" is undefined
      printf ("#define _RWSTD_FLT_MAX_EXP %d\n", FLT_MAX_EXP);
                                                 ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 650: error #20: 
          identifier "__FLT_MIN_10_EXP__" is undefined
      printf ("#define _RWSTD_FLT_MIN_10_EXP %d\n", FLT_MIN_10_EXP);
                                                    ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 654: error #20: 
          identifier "__FLT_MIN_EXP__" is undefined
      printf ("#define _RWSTD_FLT_MIN_EXP %d\n", FLT_MIN_EXP);
                                                 ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 658: error #20: 
          identifier "__FLT_RADIX__" is undefined
      printf ("#define _RWSTD_FLT_RADIX %d\n", FLT_RADIX);
                                               ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 668: error #20: 
          identifier "__LDBL_DIG__" is undefined
      printf ("#define _RWSTD_LDBL_DIG %d\n", LDBL_DIG);
                                              ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 672: error #20: 
          identifier "__LDBL_MANT_DIG__" is undefined
      printf ("#define _RWSTD_LDBL_MANT_DIG %d\n", LDBL_MANT_DIG);
                                                   ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 676: error #20: 
          identifier "__LDBL_MAX_10_EXP__" is undefined
      printf ("#define _RWSTD_LDBL_MAX_10_EXP %d\n", LDBL_MAX_10_EXP);
                                                     ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 680: error #20: 
          identifier "__LDBL_MAX_EXP__" is undefined
      printf ("#define _RWSTD_LDBL_MAX_EXP %d\n", LDBL_MAX_EXP);
                                                  ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 684: error #20: 
          identifier "__LDBL_MIN_10_EXP__" is undefined
      printf ("#define _RWSTD_LDBL_MIN_10_EXP %d\n", LDBL_MIN_10_EXP);
                                                     ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 688: error #20: 
          identifier "__LDBL_MIN_EXP__" is undefined
      printf ("#define _RWSTD_LDBL_MIN_EXP %d\n", LDBL_MIN_EXP);
                                                  ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 695: error #20: 
          identifier "__DBL_MAX__" is undefined
      PRINTFLT (DBL_MAX, "l", DBL_DIG, "");
      ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 699: error #20: 
          identifier "__FLT_MAX__" is undefined
      PRINTFLT (FLT_MAX, "", FLT_DIG, "F");
      ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 709: error #20: 
          identifier "__DBL_EPSILON__" is undefined
      PRINTFLT (DBL_EPSILON, "l", DBL_DIG, "");
      ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 713: error #20: 
          identifier "__DBL_MIN__" is undefined
      PRINTFLT (DBL_MIN, "l", DBL_DIG, "");
      ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 717: error #20: 
          identifier "__FLT_EPSILON__" is undefined
      PRINTFLT (FLT_EPSILON, "", FLT_DIG, "F");
      ^

"/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp", line 721: error #20: 
          identifier "__FLT_MIN__" is undefined
      PRINTFLT (FLT_MIN, "", FLT_DIG, "F");
      ^

25 errors detected in the compilation of "/home/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp".


> [EDG eccp 3.9/Linux] _RWSTD_SIZE_MAX undefined
> ----------------------------------------------
>
>                 Key: STDCXX-394
>                 URL: https://issues.apache.org/jira/browse/STDCXX-394
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3
>         Environment: EDG eccp 3.9/Fedora Core 6
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Blocker
>             Fix For: 4.2
>
>
> stdcxx-4.1.3 fails to build with EDG eccp 3.9 on Fedora Core 6:
> $ nice make BUILDTYPE=11s BUILDDIR=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s CONFIG=eccp.config
> creating BUILDDIR=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s
> generating /build/sebor/stdcxx-4.1.3-eccp-3.9-11s/makefile.in from /home/sebor/stdcxx-4.1.3/etc/config/eccp.config
> make[1]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s'
> make[2]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include'
> make config
> make[3]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include'
> configuring for eccp-3.9 on linux-2.6.18-1.2798.fc6-x86_64
> checking if compiler is sane                       ok
> checking if linker is sane                         ok
> checking if run environment is sane                ok
> checking system architecture                       ILP32 little endian
> ...
> make[2]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib'
> make[2]: Entering directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib'
> eccp -c -I/home/sebor/stdcxx-4.1.3/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG
-I/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include -I/home/sebor/stdcxx-4.1.3/include  -A -x
--template_directory=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib -g  --display_error_number
--remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx-4.1.3/src/assert.cpp
> eccp -c -I/home/sebor/stdcxx-4.1.3/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG
-I/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/include -I/home/sebor/stdcxx-4.1.3/include  -A -x
--template_directory=/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib -g  --display_error_number
--remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815   /home/sebor/stdcxx-4.1.3/src/bitset.cpp
> "/home/sebor/stdcxx-4.1.3/include/rw/_allocator.h", line 155: error #20: 
>           identifier "_RWSTD_SIZE_MAX" is undefined
>           return size_type (_RWSTD_SIZE_MAX) / sizeof (value_type)
>                             ^
> "/home/sebor/stdcxx-4.1.3/include/rw/_allocator.h", line 246: error #20: 
>           identifier "_RWSTD_SIZE_MAX" is undefined
>           return size_type (_RWSTD_SIZE_MAX) / sizeof (value_type)
>                             ^
> "/home/sebor/stdcxx-4.1.3/include/string", line 138: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>       _RWSTD_STATIC_CONST (size_type, npos = size_type (_RWSTD_SIZE_MAX));
>       ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 87: error #20: identifier
>           "_RWSTD_CHAR_BIT" is undefined
>       enum { _C_elembits = _RWSTD_CHAR_BIT * sizeof (unsigned long) };
>                            ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 199: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>                                          _RWSTD_SIZE_MAX,
>                                          ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 233: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>               _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
>                                                            ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 246: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>               _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
>                                                            ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 264: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>               _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
>                                                            ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 277: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>               _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
>                                                            ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 295: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>               _RWSTD_SIZE_T __pos = 0, _RWSTD_SIZE_T __n = _RWSTD_SIZE_MAX,
>                                                            ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 101: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>               __n & (_RWSTD_SIZE_MAX >> ((_Size > _C_elembits ? 0 :
>                      ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 266: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>           _C_from_char (__str, _RWSTD_SIZE_MAX,
>                                ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 279: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>           _C_from_char (__str, _RWSTD_SIZE_MAX,
>                                ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 297: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>           _C_from_char (__str, _RWSTD_SIZE_MAX,
>                                ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 375: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>             _RWSTD_SIZE_MAX >> (_C_elembits - _Size % _C_elembits) % _C_elembits;
>             ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 515: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>           _C_bits [0] = _RWSTD_SIZE_MAX;
>                         ^
> "/home/sebor/stdcxx-4.1.3/include/bitset", line 559: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>             _RWSTD_SIZE_MAX >> (_C_elembits - _Size % _C_elembits) % _C_elembits;
>             ^
> "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 80: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>       if (_RWSTD_SIZE_MAX == slen)
>           ^
> "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 136: error #20: identifier
>           "_RWSTD_SIZE_MAX" is undefined
>       if (_RWSTD_SIZE_MAX == slen)
>           ^
> "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 230: error #20: identifier
>           "_RWSTD_CHAR_BIT" is undefined
>       const _RWSTD_SIZE_T wordbits = sizeof *bits * _RWSTD_CHAR_BIT;
>                                                     ^
> "/home/sebor/stdcxx-4.1.3/src/bitset.cpp", line 269: error #20: identifier
>           "_RWSTD_CHAR_BIT" is undefined
>       const _RWSTD_SIZE_T wordbits = sizeof *bits * _RWSTD_CHAR_BIT;
>                                                     ^
> 21 errors detected in the compilation of "/home/sebor/stdcxx-4.1.3/src/bitset.cpp".
> make[2]: *** [bitset.o] Error 2
> make[2]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s/lib'
> make[1]: *** [lib] Error 2
> make[1]: Leaving directory `/build/sebor/stdcxx-4.1.3-eccp-3.9-11s'
> make: *** [libstd] Error 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message