APAR status
Closed as program error.
Error description
My_NamespaceVoid_t); // G++ 4.1.2 OK | G++ 4.5.2 KO | Logiscope finds a strange violation here }; }
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** The Misra rule: MISRA-2-10-3 description states that "a typedef name (including qualifciation, if any) shall be a unique identifier" When the below code is checked for violations, Logiscope reports violations when its not expected. namespace My_Namespace { typedef void My_NamespaceVoid_t; } namespace My_Namespace { void my_local_func3 (void) {;}; My_NamespaceVoid_t my_local_func4 (void) {;}; // G++ OK | Logiscope finds a strange violation here My_NamespaceVoid_t my_local_func5 (My_NamespaceVoid_t) {;}; // G++ 4.1.2 OK | G++ 4.5.2 KO | Logiscope finds 2 strange violations here //main_MISRA_2_10_3_V1.cpp:77:30: error: '?anonymous?' has incomplete type //main_MISRA_2_10_3_V1.cpp:77:40: error: invalid use of 'My_Namespace::My_NamespaceVoid_t' class MyLocalClass { public: MyLocalClass (My_Namespace::My_NamespaceVoid_t); // G++ 4.1.2 OK | G++ 4.5.2 KO | Logiscope finds a strange violation here }; }
Problem conclusion
Fixed in fixpack 6.6.4
Temporary fix
Comments
APAR Information
APAR number
PM57242
Reported component name
TLOGIC LOGISCOP
Reported component ID
5724V81LS
Reported release
650
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-02-02
Closed date
2012-07-10
Last modified date
2012-07-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC LOGISCOP
Fixed component ID
5724V81LS
Applicable component levels
R650 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
10 July 2012