You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/03/19 21:46:24 UTC

[jira] Closed: (STDCXX-788) [HP aCC 6.15] many remarks in builds

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

Martin Sebor closed STDCXX-788.
-------------------------------

    Resolution: Duplicate

Closing as a duplicate of STDCXX-695.

> [HP aCC 6.15] many remarks in builds
> ------------------------------------
>
>                 Key: STDCXX-788
>                 URL: https://issues.apache.org/jira/browse/STDCXX-788
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2.0
>         Environment: aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Minor
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> Latest HP aCC 6.16 builds produce many remarks making them exceedingly noisy:
> {noformat}
> $ gunzip -c hpux-11.31-ia64-acc-6.16-12D-637671-log.gz | grep "remark #" | wc -l
> 4187
> {noformat}
> The breakdown by remark produced by the following script is in the table below:
> {noformat}
> $ W=`gunzip -c hpux-11.31-ia64-acc-6.16-12D-637671-log.gz | sed -n "s/.* remark #\([1-9][0-9]*\)-D:.*/\1/p" | sort | uniq`; \
>   for w in $W; do \
>     printf "%s " $w && gunzip -c hpux-11.31-ia64-acc-6.16-12D-637671-log.gz | grep " remark #$w-D:" | wc -l; \
>   done
> {noformat}
> ||warning||count||description||
> |2177|10|variable was declared but never referenced|
> |2550|28|variable was set but never used|
> |2826|44|variable was never referenced|
> |2961|1|use of a type with no linkage to declare a variable with linkage|
> |3348|799|declaration hides variable|
> |4217|3|comparison of enum (represented as an unsigned integer) with zero|
> |4219|251|64 bit migration: type conversion may truncate value|
> |4234|28|type conversion may lose significant bits|
> |4239|2|case type mismatch with switch expression type|
> |4244|4|extern storage class used with a function definition|
> |4248|4|comparison of unsigned integer with a signed integer|
> |4271|712|type conversion may lose sign|
> |4273|18|floating-point equality and inequality comparisons may be inappropriate due to roundoff common in floating-point computation|
> |4278|3|the subexpression in logical expression is a constant|
> |4282|1|virtual function is called from constructor/destructor|
> |4283|3|access global variable in constructor|
> |4296|779|operation on boolean type|
> |4297|1220|boolean value is used as array index|
> |4298|124|64 bit migration: addition result could be truncated before cast to bigger sized type|
> |4299|20|64 bit migration: multiply result could be truncated before cast to bigger sized type|
> |4300|72|Overflow while computing constant in left shift operation|
> |4315|61|loop without body, did you insert an extra ';'?|

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