Fixed problems Release Notes

© Copyright International Business Machines Corporation 2011. All rights reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Release notes

1.0 Code Review for C
   1.1 APAR # PM30967 (DEFECT ID RATLC01533025)
   1.2 APAR # PM31171 (DEFECT ID RATLC01813159)
2.0 Component Testing for Ada
   2.1 APAR # PM32249 (DEFECT ID RATLC01813287)
3.0 Component Testing for C
   3.1 DEFECT ID RATLC01247461
   3.2 APAR # PM30523 (DEFECT ID RATLC01532954)
   3.3 APAR # PM30803 (DEFECT ID RATLC01533010)
   3.4 APAR # PM31127 (DEFECT ID RATLC01533049)
   3.5 APAR # PM32237 (DEFECT ID RATLC01520377)
4.0 Component Testing for C++
   4.1 APAR # PM27895 (DEFECT ID RATLC01516909)
   4.2 APAR # PM32232 (DEFECT ID RATLC01520375)
   4.3 APAR # PM35168 (DEFECT ID RATLC02336902)
5.0 Documentation - TestRT
   5.1 APAR # PM29934 (DEFECT ID RATLC01518535)
   5.2 APAR # PM30648 (DEFECT ID RATLC01532967)
6.0 Eclipse Integration
   6.1 APAR # PM32281 (DEFECT ID RATLC01532786)
7.0 Integration with RQM
   7.1 DEFECT ID RATLC01532726
8.0 Runtime Analysis
   8.1 APAR # PM26182 (DEFECT ID RATLC01975484)
   8.2 APAR # PM28455 (DEFECT ID RATLC01532695)
   8.3 APAR # PM33336 (DEFECT ID RATLC01813448)
   8.4 APAR # PM33667 (DEFECT ID RATLC01813390)
   8.5 APAR # PM34925 (DEFECT ID RATLC01813693)
   8.6 APAR # PM35011 (DEFECT ID RATLC01813716)
   8.7 APAR # PM35013 (DEFECT ID RATLC01813717)
   8.8 APAR # PM35069 (DEFECT ID RATLC01813736)
9.0 Target Deployment Port
   9.1 APAR # PM32054 (DEFECT ID RATLC00426423)

1.0 Code Review for C

   1.1 APAR # PM30967 (DEFECT ID RATLC01533025)

Rule M8.3 is incorrectly reported when a function has a pointer to function as parameter. The match between declaration and definition of the function fails and CRCcc reports rule 8.3 violation.
No known workaround .

   1.2 APAR # PM31171 (DEFECT ID RATLC01813159)

Rule M8.12 ("When a global array variable can be used from multiple files, its size should be defined at initialization time") is sometimes displayed on a non array object.
No known workaround .

2.0 Component Testing for Ada

   2.1 APAR # PM32249 (DEFECT ID RATLC01813287)

When:
- the same enumerated constant id is used to define multiple enumerated types, and
- if an array is indexed by one of these types,
then, using named aggregate for initializing or testing this array produces a mistake on the static evaluation of the enum'pos.
The workaround is to use unnamed aggregates.

3.0 Component Testing for C

   3.1 DEFECT ID RATLC01247461

The stub call result is not displayed into the test report when STUB call is set to 0 in the TEST. Nevertheless, the unexpected call is reported correctly.
No known workaround .

   3.2 APAR # PM30523 (DEFECT ID RATLC01532954)

Multi-lines comments are not shown in the report or badly dispatched in the report.
No known workaround .

   3.3 APAR # PM30803 (DEFECT ID RATLC01533010)

The test script compiler raises an internal error in Module SFC when "init with" value contains a cast with a type having a definition bigger than 8K bytes.
The workaround is to reduce the type definition or remove the cast.

   3.4 APAR # PM31127 (DEFECT ID RATLC01533049)

A non compliant prototype of atl_strcpy and atl_strlen functions may lead to compilation error on very strict compilers.
The workaround is to add the missing const on the last parameter in atlimage.c.

   3.5 APAR # PM32237 (DEFECT ID RATLC01520377)

The test script generator badly declares the variable used as function parameter in the generated test script when the parameter is a pointer-to-pointer-to-basic_type.
The workaround is to modify the generated ptu.

4.0 Component Testing for C++

   4.1 APAR # PM27895 (DEFECT ID RATLC01516909)

The instrumentor inserts ATO_VOID_RETURN macro at the end of non void function when there is no return at this place.
The workaround is to insert a return statement even if this code is not reachable.

   4.2 APAR # PM32232 (DEFECT ID RATLC01520375)

The test script compiler is limited in number of INCLUDE STUB instructions and cannot create the temporary files (.tsf and .ots files) when the test script has a large number of INCLUDE simulation (.stb) files.
The workaround is to put multiple stubs in to one file.

   4.3 APAR # PM35168 (DEFECT ID RATLC02336902)

When the source extension is not a common extension, the instrumentor assumes it is C code even if in the TDP "Basic setting for C++" section, the key "SRCEXTLIST" contains the right file extension.
The workaround is to modify the Fcts.pl file to change the line $Ini{'LANGUAGE'} = ucfirst(lc($Ini{'LANGUAGE'})); to $Ini{'LANGUAGE'} = uc($Ini{'LANGUAGE'}); There is only one occurence of "ucfirst" in this file.

5.0 Documentation - TestRT

   5.1 APAR # PM29934 (DEFECT ID RATLC01518535)

IBM Test RealTime release notes appear garbled in Microsoft Internet Explorer browser.
The workaround is to use another HTML browser.

   5.2 APAR # PM30648 (DEFECT ID RATLC01532967)

Online Help is incomplete about calling a stub before the main program has been correctly initialized, when the stub has a return value. The documentation has been updated in section: Testing software components > Component Testing for Ada > Writing a test script > Stub simulation > Defining stubs.

6.0 Eclipse Integration

   6.1 APAR # PM32281 (DEFECT ID RATLC01532786)

When memory profiling is active, runtime tracing is not active, and heap size stamp is active, an error is raised when TP.c is compiled.
The workaround is to set the option "Record and display heap size" to "No" in the "Runtime Analysis / Runtime Tracing" project settings.

7.0 Integration with RQM

   7.1 DEFECT ID RATLC01532726

When a backslash "\" is added at the end of the "Project path" in the RQM test script import dialog, the first character from the IBM Rational Test RealTime project name is truncated.
The workaround is to remove the trailing backslash.

8.0 Runtime Analysis

   8.1 APAR # PM26182 (DEFECT ID RATLC01975484)

When Ptr->Data is written in the ptu instead of Ptr.Data, the instrumentor fails with "internal error: expr.c, line 3600".
No known workaround .

   8.2 APAR # PM28455 (DEFECT ID RATLC01532695)

When a local variable is declared and affected, in compliance with C99 syntax, in the middle of a function, the code is incorrectly instrumented.
The workaround is to declare the local variable at the beginning of the function.

   8.3 APAR # PM33336 (DEFECT ID RATLC01813448)

Documentation details, about C/C++ instrumentor configuration files atl.hpp and atus_c.def, are missing. The documentation has been updated in section: Reference > Runtime and static analysis > Command line interface > C and C++ Instrumentor -attolcc1 and attolccp.

   8.4 APAR # PM33667 (DEFECT ID RATLC01813390)

When the syntax <object>'access.all or <object>'access.<field> is used, an "Entity not found" error occurs.
No known workaround .

   8.5 APAR # PM34925 (DEFECT ID RATLC01813693)

"entity not found" error is due to a wrong overload of the implicit function "/=" when you declare an overload of the function "=" and you change the names of the entry parameters names.
The workaround is to remove the parameters names on the call to "/=" operator.

   8.6 APAR # PM35011 (DEFECT ID RATLC01813716)

The Ada instrumentor fails with the "Entity.... not found" error. There is a wrong type 'class resolution when using a generic type parameter.
No known workaround .

   8.7 APAR # PM35013 (DEFECT ID RATLC01813717)

Entity is not found due to a wrong resolution type on the code sequence: Type'class(this.all)'access.
No known workaround .

   8.8 APAR # PM35069 (DEFECT ID RATLC01813736)

When a label is instrumented and is before a "break" statement in a "switch" construct, it causes an Internal Error when Coverage Conditions are turned on.
No known workaround .

9.0 Target Deployment Port

   9.1 APAR # PM32054 (DEFECT ID RATLC00426423)

When the C/C++ instrumentor is running on Linux with specific options in option files, an internal error happens.
The workaround is to remove some of diag_error instructions in the Target Deployment Port or run on windows machine.