[Compaq C++ 7.1] floating point underflow warnings compiling library --------------------------------------------------------------------
Key: STDCXX-565 URL: https://issues.apache.org/jira/browse/STDCXX-565 Project: C++ Standard Library Issue Type: Bug Components: Build Affects Versions: trunk Environment: Compaq (now HP) C++ 7.1, Tru64 UNIX Reporter: Martin Sebor Priority: Minor 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) ----^ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.