stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STDCXX-941) [HP aCC 3] many warnings 887: Type T is smaller than type U, unwanted widening in value may result.
Date Thu, 05 Jun 2008 23:38:45 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor closed STDCXX-941.
-------------------------------


Confirmed fixed in the latest builds with 4.2.x:
{noformat}
$ gunzip -c hpux-11.31-ia64-acc-6.16-12D-649727-log.gz | grep "loc/_ctype.h\", line 544 #
Type 'unsigned int'" | wc -l
0
{noformat}

> [HP aCC 3] many warnings 887: Type T is smaller than type U, unwanted widening in value
may result.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: STDCXX-941
>                 URL: https://issues.apache.org/jira/browse/STDCXX-941
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 22. Localization
>    Affects Versions: 4.2.1
>         Environment: aCC: HP ANSI C++ B3910B A.03.73
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>             Fix For: 4.2.2
>
>   Original Estimate: 1h
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The following (complete useless) warning is pervasive in stdcxx 4.2.1 builds with aCC
3:
> {noformat}
> aCC -c    -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include  -AA  +O2  +DD64 +w +W392,655,684,818,819,849
 +Z  $(TOPDIR)/src/ctype.cpp
> Warning (suggestion) 887: "$(TOPDIR)/include/loc/_ctype.h", line 544 # Type 'unsigned
int' is smaller than type 'unsigned long', unwanted widening in value may result.
>         const _RWSTD_SIZE_T __inx = _RWSTD_STATIC_CAST (_RWSTD_UWCHAR_INT_T, __c);
>                                     ^^^^^^^^^^^^^^^^^^                            
> {noformat}

-- 
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