Issue Details (XML | Word | Printable)

Key: STDCXX-565
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

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

Created: 19/Sep/07 06:31 PM   Updated: 23/Apr/08 12:34 AM
Return to search
Component/s: Build and Installation
Affects Version/s: 4.2.0
Fix Version/s: 4.2.2

Time Tracking:
Original Estimate: 4h
Original Estimate - 4h
Remaining Estimate: 4h
Remaining Estimate - 4h
Time Spent: Not Specified
Remaining Estimate - 4h

Environment: Compaq (now HP) C++ 7.1, Tru64 UNIX
Issue Links:
Reference
 

Regression: Regression
Severity: Compiler Warning


 Description  « Hide
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)
----^



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.