Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-565

[Compaq C++ 7.1] floating point underflow warnings compiling library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.2.0
    • 4.2.2
    • Build and Installation
    • None
    • Compaq (now HP) C++ 7.1, Tru64 UNIX

    • Regression
    • Compiler Warning

    Description

      With the latest trunk (but not with 4.1.3) we're getting the warnings below when building the library. They suggest we might have a problem in the definition of the macros.

      gmake: Entering directory `$(BUILDDIR)/lib'
      ...
      cxx -c -D_RWSTDDEBUG -D_RWSTD_SHARED_LIB -I$(TOPDIR)/include -I$(BUILDDIR)/include -x cxx -nocxxstd -std strict_ansi_errors -g -w1 -msg_disable 450 -ptr repository.ti $(TOPDIR)/src/collate.cpp
      cxx: Warning: $(TOPDIR)/include/limits, line 439:
      underflow occurs in evaluating this expression
      _RWSTD_STATIC_FUN (long double, (min), _RWSTD_LDBL_MIN)
      ----^
      ...
      cxx -c -D_RWSTDDEBUG -D_RWSTD_SHARED_LIB -I$(TOPDIR)/include -I$(BUILDDIR)/include -x cxx -nocxxstd -std strict_ansi_errors -g -w1 -msg_disable 450 -ptr repository.ti $(TOPDIR)/src/limits.cpp
      cxx: Warning: $(TOPDIR)/include/limits, line 439:
      underflow occurs in evaluating this expression
      _RWSTD_STATIC_FUN (long double, (min), _RWSTD_LDBL_MIN)
      ----^
      ...
      cxx -c -D_RWSTDDEBUG -D_RWSTD_SHARED_LIB -I$(TOPDIR)/include -I$(BUILDDIR)/include -x cxx -nocxxstd -std strict_ansi_errors -g -w1 -msg_disable 450 -ptr repository.ti $(TOPDIR)/src/locale_core.cpp
      cxx: Info: $(TOPDIR)/src/locale_core.cpp, line 110:
      statement is unreachable
      RW::_rw_chararray pathname;
      ----------------------------^
      ...
      cxx -c -D_RWSTDDEBUG -D_RWSTD_SHARED_LIB -I$(TOPDIR)/include -I$(BUILDDIR)/include -x cxx -nocxxstd -std strict_ansi_errors -g -w1 -msg_disable 450 -ptr repository.ti $(TOPDIR)/src/num_get.cpp
      cxx: Warning: $(TOPDIR)/src/num_get.cpp, line 761:
      underflow occurs in evaluating this expression
      __rw_validate (ld, LDbl (_RWSTD_LDBL_MIN),
      -----------------------------------------^
      cxx -c -D_RWSTDDEBUG -D_RWSTD_SHARED_LIB -I$(TOPDIR)/include -I$(BUILDDIR)/include -x cxx -nocxxstd -std strict_ansi_errors -g -w1 -msg_disable 450 -ptr repository.ti $(TOPDIR)/src/num_put.cpp
      cxx: Warning: $(TOPDIR)/include/limits, line 439:
      underflow occurs in evaluating this expression
      _RWSTD_STATIC_FUN (long double, (min), _RWSTD_LDBL_MIN)
      ----^

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified