4.2.0 and 4.2.2 Defects/Change Requests

Defects Resolved in Release 4.2.2
Defect
Component
Description
7715
Environment
RFE: Apex should display error msg when copy_view comes across wrong input
8284
Apex ClearCase
checkin -control has different semantics for ClearCase
8392
Environment
Right click on Navigate button does not show 'More Other Places'
8397
Environment
Selecting a large number of files causes the Output Server to crash
8398
Environment
Improve error reporting when disk quota is reached
8409
Apex C++
'dependencies' fails to work with Tools.h++
8468
Apex with ClearCase
Remote build for Apex with Clearcase
8472
Apex Ada
"&&& [MID] in Decl_Gen.Gen_Decl - ASSERTION_ERROR (raised at #00C25C64) while coding ""/\"" ()"
8486
Apex ClearCase
Truncate the branch name or the rule name in the Directory Browser
8487
Summit
Cannot check-in Apex-generated make files
8489
Apex C++
Copilation order of C files
8526
Apex ClearCase
file not in RSS opened for edit does not trigger check-out dialog
8527
Environment
"Syntactically different, but equivalent, DISPLAY settings should not cause >1 licenses to be consumed"
8528
Apex ClearCase
"""Move Object"" for RSS does not work"
8532
Core
Apex server processes are still running after abnormal session termination
8533
Apex ClearCase
copying controlled .rss generates uncontrolled .rss
8543
Environment
Message_Server: connection warnings
8561
Environment
Tools:Grep
8570
Environment
Copy view does not copy .o files
8628
Apex ClearCase
make in/out -control consistent with control cmd in clearcase mode
8632
Environment
upgrade/downgrade private
8634
Apex ClearCase
"Added support for -abandon, -check_in, -save options on file copy in ClearCase mode"
8635
Environment
Apex Projects not working
8638
Apex ClearCase
Support -effort_only option for ccase
8640
Environment
FLEXlm and Apex on Solaris 9
8664
Apex Ada
Memory Leak in Distributed Services
8691
Environment
"difference: with -ignore_whitespace checked, -ignore_case has not effect on strings"
8700
Apex Ada
pragma volatile produces erroneous results for some 64 bit floating point cases
8713
Environment
Navigate enclosing in place doesn't work when CAPS LOCK is on
8718
Apex ClearCase
"migrate_subsystem error ""unable to attach attribute"""
8722
Apex ClearCase
ada diffing for ccase mode
8751
Environment
ENH: setting file descriptor limit in apexinit script
8765
Apex Ada
[RCE] Internal error (Unhandled Exception)
8774
Apex C++
additional .Rational directory structure
8781
Environment
"Dialog ""Setup"" does not show active projects"
8792
Apex Debugger
Debugger handling of attribute definition clause and shared variable control with enumeration values
8803
Environment
File i-node changing with saving a file in Ada Editor / Allow user to force use of overwrite update
8804
Apex Ada
Bad code for operations on a 16 bit fixed point record component
8808
Environment
Control-SubsystemProperties deletes histories
8818
Apex Debugger
spurious SIGTRAP in debugger
8819
Environment
drag-and-drop copy renders dialog inactive
8820
Apex ClearCase
Out-of-date marker doesn't work for snapshot views
8822
Apex Ada
[RCE] CONSTRAINT_ERROR will be raised unconditionally when type casting
8824
Environment
DO date appearing in directory display
8828
Environment
Deselection of the visit body feature using the automatic build body popup dialog
8841
Environment
"Whole Word Search Option, highlight-all and search reverse fail"
8846
Environment
Hold-set operation
8853
Environment
prevent file resources exhaustion
8854
Environment
directory_viewer format cleanup
8864
Environment
error generated by view properties dialog
8879
Environment
CMVC: Ignore deleted versions in the history precedence
8897
Apex Ada
<package> raised CONSTRAINT_ERROR in top_level.semantics
8898
Apex Ada
<declaration> raised ASSERTION_ERROR in decl_checking.chk_decl
8919
Apex RCI
"RCI: ""The layered product named XXX could not be enabled"""
8920
Apex RCI
RCI: link only works if context is <view>
8940
Apex Ada
&&& [MID] in Middle Pass - ASSERTION_ERROR
8952
Apex Ada
Bad optimization for unsigned variable arithmetic
8960
Apex Ada
&&& [MID] in Stmt_Gen.Gen_Stmt - CONSTRAINT_ERROR (raised at #01189890)
9043
Apex ClearCase
Apex/ClearCase: Opening directory window with 3000+ units is very slow
9044
Environment
summit version extended attributes no longer case insensitive
RATLC00385141
Apex Ada
exception_handler: below bottom end of stack
6836
TestMate
A spurious error message that resulted when creating a new, isolated test case when the "Overwrite existing files" dialog checkbox is not checked has been fixed.
8231 9005
TestMate
Visiting object file coverage now correctly brings up the disassembled code and highlights uncovered instructions.
8777
TestMate
TestMate now shows the scroll bar at its righmost position when displaying the last column in a test list or other table editor.
8778
TestMate
TestMate now preserves all existing columns when new ones are added in the test list editor
8961
TestMate
TestMate now recognizes constants formed from the implicit "=" operator as constant.
N/A
TestMate
A buffer overflow problem when editing a test list subsequent to inserting test cases has been fixed.
N/A
TestMate
TestMate is now capable of sematically analyzing Ada source for LynxOS 4.0 targets.
N/A
TestMate
TestMate now closes sockets created for the Test Messaging Service (TMS) between test lists.



Defects Resolved in Release 4.2.0
Defect ID
Area
Description
1029
Environment
Architecture selection does not consider all arguments (on link). Updated process to parse all arguments and invoke command for all architectures identified (not just the first one found).
2682
Summit
New Task dialog, Name field is optional. Changed the dialog box to not require the name be provided; although the Name field will continue to only be displayed if the name is actually used in the generation of the task name.
4424
Environment
Long lines wrapped during keyword replacement not marked as ada comment. Handle newlines in replacement text (for subsequent check-ins). Prepend '--' (ada comment) at beginning of newlines in note replacement text.
4894
Summit
Control > Update Objects should have a warning when a verbose option has been added to the dialog box, so that such messages can be obtained from the GUI, as well as the command line.
5032
Environment
Common directory_formats for a group of users. Apex updated such that now the code looks at the APEX_RULES_PATH (which usually is not set) and then at the APEX_MENU_PATH (which usually is set). So the user's ~/.Rational/directory_formats file can change the settings provided in the $APEX_LOCAL_DIR/editor_files/directory_formats file can change the settings provided in the $APEX_HOME/editor_files/directory_formats file can change the default settings built into the directory OE.
5042
Environment
Request for Apex diff to work like UNIX diff. We have added two new options to the apex difference command; -ignore_case and -ignore_whitespace. The show difference dialog box has been updated to reflect the new options.
5068
Ada Environment
Apex 3.0.0b shared library distributed link bug report. Recovery fixed to do limited lock recovery for locks on non-existent files.
5217
Environment
"Semantize" change state to "unsaved" even if no changes have been made. Operation has been updated so that if no change occurs the unit "save" status remain unchanged.
5293
Ada Environment
apex_shell scripting enhancement request. We have added support for -continuations option for the type file_string_map.
5364
Ada Environment
middle pass uses wrong bounds for T'Base in some cases. Corrected error where the middle pass used the wrong bounds for the base type of a signed integer types in some cases.
5405
C++ Environment
Wrong permissions on Templates directory mess up C++ compiler. If the Templates directory does not have rwx, Apex will now attempt to do a chmod.
5419
Environment
No way to reject a change in Apex Merge Editor. New Undo 1, Undo 2, Undo All, and Accept All Both buttons. Undo means keep the ""--N"" lines and delete the ""++N"" lines. It undoes a change. Accept All Both accepts both files 1 and 2 in every conflict.
5597
Ada Environment
Constraint error raised when using 'Valid instead of False being returned. Algorithm for checking 'valid modified.
5619
Environment
update_view does not show file names. Enhancement made to messages (note and warning) regarding the implicit acceptance of other tasks to include the file name of the file triggering this event.
5812
Ada Environment
Error messages while copying many views. Implemented new method for locking, so that cmvc does not consume file descriptors just to get a lock.
6083
Ada Environment
Enable C++ Linking dialog box shows Ada as default model. Enable C++ Linking will come up with a defaulted C++ model. Enable Ada Linking will come up with a defaulted Ada95 model.
6374
Environment
The apex net command hangs. Corrected a quoting problem when passing the environment from one machine to another.
6553
Apex ClearCase
No refresh after creating a new branch. Added command to dialog to inform server of vc status change.
6704
Ada Environment
apex net command should display warning messages. apex net was arbitrarily setting -output_filter progress on all net commands. Changed it to work in the same fashion as the other Apex commands.
6785
Compiler
Ada95 compiler error: Unexpected Tagged Relational Op. Incorrectly built operators caused the middle-pass to die.
6948
Core
History list in alternatives via Alternative Icons in Update Objects not cleaned-up. Histories are now sorted and duplicates are removed.
6959
Any
Pragma or switch to suppress byte by byte transfers. Updated support for applying pragma Atomic (and Volatile) on small records or arrays (typically, those not larger than the largest integer).
6994
Environment
Control>Show>Versions does not display correct version of file. GUI updated to only display the actual version/file, if that version is in the same context as the display context from which it was requested.
7008
Environment
Control>Show>Differences when one file has been deleted. Cleaned up the code to be more effective with messages; Improved differences message when the version is a deleted version.
7009
Ada Environment
Apex 3.2.0b debugger cannot display tagged type on heap. Enhanced debugger to handle displaying a tagged type allocated on a heap.
7069
Environment
Comparison of Export Sets Fails. Corrected error which was caused by a shared data structure that was being modified.
7077
Apex
Include "note" to the File->CopyObject dialog. The copy and move commands in 4.1 will accept the options: [-note ""text""] [-note_file file] These options only apply to single object copies (not copies of views or subsystems). The note is associated with the latest version on the specified history (newly created) of the target. When the source is check_out and the -check_in option is specified, the comment will also be associated with the checked_in version. In the case of move, the comment is also be associated with the deleted version of the source.
7170
Apex ClearCase
Edit option not turned on for new ada files. The dialog box had mistakenly changed to not include -edit option when in ccase mode (Ada only).
7205
RCI
'RCI: Shutdown' releases wrong feature. Problem "fixed" by removing RCI>Shutdown menu item and associated action which would be in line with Apex session-based licensing model.
7208
Ada Environment
Keyword replacement in INCLUDE_OPTIONAL incorrect. Corrected problem where the context was not being properly adjusted when performing resolution of multiple includes using Keyword replacement.
7274
Ada Environment
Enhancement Request - Shared Library Versioning. Added to Apex 4.2.0 is a shared library versioning mechanism. By default it is OFF. For further details refer to the New and Changed Features section of the release note.
7324
Apex Ada
accept_import_changes bug: "Not a view". Apex has been enhanced such that it will not fail when accepting import changes if a view with the same subsystem name for the destination set is not found; instead it will attempt to use the import used by the source (the -strict option will prevent this).
7333
Ada Environment
Alignment definition on record extension causes internal error. Corrected an error in the code that does target-dependent checking of alignment clauses.
7358
Apex
Elide highlights all directories with the same name. The GUI was updated to only highlight the selected view.
7377
Apex
apex help summaries are wrong for Apex/ClearCase. Help entries have been updated.
7386
Environment
Update Objects - amending Imports across different architectures. Error conditions generated while accepting import changes are handled in a more consistent manner. With the change Apex will not terminate on the first error, but instead will continue processing any additional target views specified.
7405
TestMate
Test Mate 4 starts up with 3.2.0 licences before failing. Fixed in post_install. If the licenses are DEMO, it will now check the license version and report the discrepancy.
7418
Ada Environment
Standard cannot be built with large (96 bits) LONG_LONG_FLOAT type. Corrected a set of errors that was leading to not being able to build Standard with 96-bit float type for RCI.
7433
Apex Ada
Inherited discriminant incorrectly visible. A name that denotes a component of the parent type is not allowed within a record_extension_part.
7467
Apex
Exit status of the link always 0 even if an error occurred. When running a link ('apex link' or 'rada -goal linked'), where an error occurred, the exit status of the link was not correct.
7478
Apex Ada
Compiler emits CONSTRAINT_ERROR on invalid renames
7486
Apex Ada
Apex 4.0.0b error with instantiations. Entities declared in the expanded specification of an instantiation should be frozen at the end of that specification.
7498
Ada Environment
4.0.0 record rep specs fail with aliased components. Correct problem where compiler was using incorrect formula for computing alignment of components.
7530
Apex
Debugger malfunction when changing the value of a variable. Corrected case where debugger was not properly handling boolean values with a size other than the default 8 bits.
7532
Apex Ada
Problem compiling Booch components. Updated compiler so that a type declared in a formal package cannot fail the accessibility check of 3.9.1(3).
7533
Apex Ada
Apex 4.0.0b problem with fixed types. Updated compiler so that size clause on fixed-point types would take into account the "at most Small" rule.
7534
Apex Ada
Apex 4.0.0b compilation problems with type extensions using generic instantiation. Compiler changed to support AI95-00233 / Inheritance of components of generic formal derived types.
7543
Ada Environment
bug with child package visibility of parent's private part (RM95 4.6)
7576
Apex
Debug disassembly does not show Ada source correctly. Debug improvements to better handle display of disassembly associated with Ada source under the GUI.
7582
Ada Environment
apex_profile not working on Native 4.0.0. Script updated to special case area having problem.
7600
Apex Ada
Request to reduce TOC space. Improvements have been made in TOC usage.
7622
Apex Ada
Illegal use of attribute not rejected. Corrected error where illegal use of attribute was not rejected at installation. Which later would result in errors in the middle pass.
7623
3.2.0B
Use of Implicit_Parameter_Mode with the Code Rule Checker. Checker updated to also not include in summary units which only fail rules which have been turned off.
7627
Apex ClearCase
Compile:Maintenance:Enable C++ Linking dialog failure. Dialogs have been updated to correct his error.
7701
Ada Environment
[MID] in Decl_Gen.Gen_Decl - ASSERTION_ERROR (raised at #010CD648).
7723
Apex Duo
Problems linking threaded C/C++ programs. Updated RCC compiler keys to pass correct link options on Compaq Tru64 when linking threaded c/c++ programs.
7103/8364
Any
With the 4.0 release of Apex, the grep command was changed to first save any edit buffers to disk prior to performing the grep. A side effect of this change was that the grep operation could slow down greatly. With 4.2 the grep dialog now allows the user to select whether files should be saved to disk prior to performing the grep.
7221 / 6880
Apex Embedded Tornado
ASSERTION_ERROR in decl_checking.chk_dec1. Fixed as part of changes made to support AI95-00233.
7321 / 7320
Apex ClearCase Integration
Checkout of file in editor does not make it editable. The ClearCase code had failed to inform editor of state change
7443 / 7263
Environment
Show_difference bug. For some files doing a difference on two versions was failing. No output would be produced and the busy cursor would remain.
7694 / 8178
Ada Environment
possible diana expand bug. Corrected case where Generic instantiated with an enumeration id as an actual for a formal function was causing the compiler to fail.
7734
Apex
The Rational Apex products based on POSIX threads, including the Apex native products using threaded runtime support and Rational Apex Embedded Ada to PowerPC Family for LynxOS, provide compatibility with C/C++ code using POSIX threads. However, even with POSIX threads based runtime support, a thread created directly by the C portion of a mixed language operation is limited in what it can do, in particular with respect to Ada tasking operations. If such a thread calls an exported Ada routine, that Ada routine cannot call an entry, create a task, or perform most other Ada operations requiring runtime support. When the Ada runtime creates a thread to implement an Ada task, it associates data structures with that thread which are used to implement other Ada operations executed by that task. A thread created directly in C using pthread_create() lacks these structures, so operations requiring them fail in unpredictable ways, often with a segmentation fault. A new runtime feature has been added to automatically allocate Ada runtime structures for a thread that lacks them. This is done on demand, when the attempt to access these structures fails in the Ada threaded runtime system fails. The runtime also installs a thread-specific data destructor to deallocate these structures when the thread terminates (see the POSIX 1003.1c standard, Section 17, for details on thread-specific data destructors). Threads created outside of the Ada runtime system by C/C++ code or otherwise can now perform most Ada operations, including entry calls, requeues, task creation and destruction, delay statements, etc. Some operations, such as accepting entry calls, can only be done in the body of a task and so are unavailable for export to threads. Customers using threaded runtimes should be aware that the first Ada runtime operation attempted by a C thread will result in the allocation of runtime storage, which storage will persist for the life of the thread. Applications that need to avoid such implicit allocations should avoid executing exported Ada subprograms. Note that currently working applications should not encounter such allocations, since attempting to use Ada operations from C threads in previous runtime systems would have failed.
7740
Apex ClearCase
Error creating a subsystem under Apex/ClearCase. Correct code to include user comment when controlling internal object of an rss.
7743
Apex Embedded
Request for better task naming for LynxOS. Improvements have been made in Task Naming for LynxOS. On a LynxOS target, task names can be identified in ps.
7760
Apex Embedded LynxOS
Memory leak in Stream_IO.Open/Close. Stream_IO.Open/Close no longer cause a memory leak on repeated calls.
7786
Core Ada
Internal error when compiling with optimization level 1. Corrected problem of infinite recursion processing aggregate literals.
7815
Ada Environment
Completion GUI on UNIX very confusing. Improved the presentation of the completion window.
7826
Ada
Representation clause in protected object. An address clause for an entry of a protected object is legal (RM95 13.3(11)) because such an entry is a program unit (RM95 10.1(1)). But it specifies the address of the code for the entry, not an interrupt. We do not support address clauses for protected entries at the moment, so such code will be rejected.
7829
Ada Environment
Generic does not Analyze/Code successfully in 4.0.0b, but does in 3.2.0b. Corrected error in the code that does target-dependent checking of alignment clauses.
7833
Ada Environment
Assertion error during analyze/code of generic instantiation. Corrected Assertion_Error mapping a type extension when the parent contains a dynamic-sized access-to-subprogram component.
7835
Ada Environment
Constraint error in top_level.semanticize when coding/analyzing package spec. Corrected case where compilation of a type with no values (null range) and therefore a size of 0. This size was (incorrectly) stored in a Positive variable, and caused an exception.
7837
Ada Environment
ASSERTION ERROR in top_level.semanticize during code/analyze of generic package spec. Corrected Assertion_Error mapping a type extension when the parent contains a dynamic-sized access-to-subprogram component.
7847
Ada Environment
Code with circularity causes compiler to hang. The Apex compiler was hanging in the case of a circularity in the source code.
7877
Ada Environment
Customer proposes utility to expose duplicate filenames. Added Control > Report > Duplicate Ada Units menu items to the Ada editor and to the Directory editor. These call a new apex_report_duplicate_ada_units script. This reports all duplicate Ada unit names within a specified subsystem closure. ASIS is able to report multiple sets of duplicate unit names at one time. It delays reporting them until it has finished traversing whatever portion of the library it was asked to traverse.
7907
Ada Environment
Generate_Sigusr2 mistakenly generates Sigusr1. This was a typo; Generate_Sigusr2 has been changed to generate SIGUSR2 instead of SIGUSR1.
7925
Apex Environment
Vanishing file contents. Improvements made to reduce the problem of vanishing files when there are multiple accesses to the image.
7967
Ada Environment
v_i_libop.movc3 does not resolve on Solaris. Added MOVC3 for SPARC.
8015
Ada Environment
Incorrect rejection of some aliased component rep specs as too small. Corrected case where Component clause for an aliased component incorrectly rejected.
8038
Apex
Character new type 'Size clause incorrect. Corrected case where Subtype size incorrectly computed for a derived scalar type with a constraint.
8043
Apex Environment
"rwxrwsrwx" permissions on some directories in .Rational. View is now checked to see if it is writable. If not, an error message is generated.
8051
Apex
Attribute Component_Size makes problems in Generic Spec. Improved compiler so that representation items for entities which depend on a formal type will be rechecked on each instantiation.
8057
Ada Environment
Instantiation error with generic with private tagged and derived types. Corrected case where an error was generated for a generic with private tagged and derived types.
8067
Apex
Compiler crash during code generation of derived fixed point type. Corrected compiler Assertion_Error triggered in some cases involving derived types with inherited size specs.
8075
Core Ada
&&& [AGG] Compiler capacity exceeded. Corrected problem of infinite recursion processing aggregate literals.
8076
Core Ada
Rename of misaligned (but byte-addressable) record object. Added middle pass support for renames of misaligned objects.
8080
Core Ada
&&& function raised CONSTRAINT_ERROR in decl_checking.chk_decl. Corrected compiler Constraint_Error triggered in some cases involving function renaming.
8097
Ada Environment
Add support for per-object alignment clause for misaligned discrete or fixed point objects. Added support for per-object alignment clause for misaligned discrete or fixed point objects which are either imported or subject to an Address clause. For example:

X : Integer
for X'Address use (...);
for X'Alignment use 1;


8100
Ada Environment
Problems highlighting errors in emacs mode when using font-lock mode. The Emacs font-lock library and the Apex apex-decoration library were changed so that they can share the font coloring in a single buffer.
8101
Apex Embedded LynxOS
Undefined reference to \Q__DIV_I_64' at link time. In the lrm.ss subsystem, the System.Time_Interfaces.Time_Div_I interfaces is obsolete and has been removed. For most purposes, the portable Ada.Real_Time.""/"" operation can be substituted (see LRM D.8).
8114
Ada
Problem running Apex Ada executable remotely. When a program that calls Get_Line was executed with rsh, read is delayed by one line. This has been corrected in the release.
8115
Apex Ada
Interfaces.C.To_C function returns bad result. AI95-00258 states that a call to Interfaces.C.To_C with a null string parameter and Append_Nul False:

To_C(Item => X, Append_Nul => False)

raises Constraint_Error. Compiler has been updated to implement this ruling.
8117
All
Machine_Code intrinsics cause link failures. If pragma Convention (Intrinsic, ...); is specified for a subprogram whose name is not known to the compiler, and if that unit installs, then calls to that subprogram will generate a warning at compile time and raise Program_Error at runtime. Under earlier versions the link would fail with unresolved symbols.
8118
Apex
Program raised (Ada_Management_Statuses'Spec.Undefined_Attribute #104A) in top_level.semanticize. Corrected compiler to generator proper semantics error message for the use of an unconstrained aliased component of a discriminated subtype.
8119
Ada Environment
Range checking for 'base erroneously raises CONSTRAINT ERROR. The middle pass was using the wrong bounds for the base type of a signed integer types in some cases.
8120
Apex Embedded LynxOS
# of storage elements allocated from a user-defined storage pool exceeds Max_Size_In_Storage_Elements This has been fixed by removing the code that forced allocations to be at least Default_Alignment. The runtime now agrees with the compiler regarding Max_Size_In_Storage_Elements.
8121
Apex C++
Incorrect DEFAULT_SPIRE_HOME in .../base/c++/compilers/sun4_solaris_64.4.0.0h. The DEFATULT_SPIRE_HOME setting will now be fixed up by the cpp_setup and post_install commands
8126
Apex
Corrected error where Apex 4.0.0 for 32 bit platforms, the V_I_Int64.Mul_64 operator would fail to detect some cases of overflow, returning incorrect results instead of raising Constraint_Error. This has been fixed in Apex 4.2.0
8128 / 7375
Apex/ClearCase
Directory browser cannot track ClearCase details. The directory server will now be informed of version control state changes to files (done via the apex GUI). The directory server will reset its cache when a redisplay is requested.
8133
Apex Clearcase
Apex/CC Unix: creating new directories/files. When Apex is making an element from a view private object, it will no longer do a mkelem followed by a checkin using the -nc and -identical options; instead it will use the -ci option of mkelem. This will allow users to have triggers that prevent, for example, the use of the -identical option on checkin.
8144
Ada Environment
Focus needs to be returned to pop-up message window. This was addressed by updating "debugger_rules" to not register the quit action.
8150
Apex with CC
"Apex/CC "Differences Previous/Current" does not work. Handle "Differences Previous/Current" under Apex ClearCase.
8154
Ada Environment
Stream_Io error with tagged types. Corrected error when using Stream_Io with tagged types.
8155
Apex Embedded LynxOS
Segmentation fault in Storage_management.segments : procedure unlink. Allocated objects that need to be processed when the corresponding collection is deallocated (e.g. the access type goes out of scope) have a header used to implement a linked list in front of the application data. In some cases, the alignment of this header and the alignment of the application data are different, in which case an offset is added after the header to get to the first aligned location in the data. When the collection is deallocated, the linked list is traversed and any necessary post-processing (e.g. finalization) is done. However, the offset isn't taken into account; the addressed based to the post-process routine is immediately after the header. If the alignment offset is nonzero, this will not be the beginning of the object. This problem has been addressed by associating the offset with the collection so that it can be bypassed during post-processing.
8167
C++ Environment
Wink-in dialog assumes Ada views. Handle winkin for C/C++ as well as Ada views.
8169
Apex Ada
Apex 4.0.0b compiler - protected objects. Corrected error handling freezing of default expressions during the elaboration of protected objects. Changed the code that maximizes the alignment so that, instead of going up to the maximum possible alignment, it only goes up to the maximum "efficient" alignment. On targets that are purely 32-bit, this would mean 4 instead of 8.
8170
Apex
Default alignment for objects 8+ bytes. On a target which does not support 64-bit discrete types, and which has no non-floating-point 64-bit load/store instructions, a record consisting of two 4-byte integer fields should be given 4-byte alignment.
8178
Core Ada
&&& [MID] Unexpected Diana error: Expr_Gen.Rename_Info.Is_Packed_Array. Generic instantiated with an enumeration id as an actual for a formal function was causing an error in the compiler.
8179
Debugger
*** failed to exec the child process _get_object_name; No such file or directory. Updated ""apex_rules"" to properly dispatch process.
8187
Apex
Wrong code generation with OPTIMIZATION_LEVEL 1. Error corrected as the result of improvements made in the optimizer code for the 4.0 and 4.2.0 releases.
8190
Ada
Erroneous initialization of a local variable. Type mapping code was corrected to properly handle initialization
8236
Ada Environment
Add Import window does not always come up with view relative information. Add Import window dialog updated to properly capture view relative information
8244
Apex
Message_Server: connection problems detected. Warning messages of potential problems were being prematurely issued. The code has been updated to hold-off on displaying the messages until a true error (connect time) occurs.
8246
MARK
Timestamp of a VOX file generated by Apex linker: certification question. A new context switch, Ada_LINKBLOCK_FORMAT, has been introduced. It will default to ""timestamp"". This switch will allow control over what appears in the timestamp field of the link block. This will result in a way to do multiple links that produce matching binary.
8256
Apex Embedded
Storage pool deallocation error. In Apex 4.0.0, propagating exceptions from operations on application defined storage pools can leave internal per-collection runtime mutexes locked. Subsequent attempts to use the same collection (e.g. to do allocations with the same access type) can then lead to deadlock. Such deadlocks are not detected by the runtime system, so the task attempting the second operation will hang. This has been fixed in Apex 4.2.0 by doing pool operations before locking collection layer mutexes.
8265
Apex ClearCase
Apex/CC: 'Build Body' apparently tries to modify spec. The servers were not being informed of state change when ClearCase commands are invoked directly from the GUI (dialogs).
8273
Apex
We removed language.1.ada from the predefined subsystems.
The usual use for language.1.ada is to supply the prefix for C code, i.e.,

pragma Interface(C, foo);
pragma Interface_Name(foo, language.c_prefix & "FOO");

We strongly encourage the use of the Ada95 pragma Import instead, which our compiler also supports for Ada83. Note that you no longer need the clumsy mechanism to supply the language prefix.

pragma Import(C, foo, external_name => "FOO");


3754
Environment
View:Auto Resize dosn't work when you delete files Made correction to window resizing after delete of entries
7376
Environment
Apex control of multiple files in ClearCase slow Performance improvement for checkin/checkout. Also intoduced session switch (env var): APEX_MINIMIZE_CCASE_COMMANDS When set the control of files (ccase mkelem) can be delayed and grouped together as a singleccase command, as an additonal performace improvement."
7821
Duo
&&& tmcfe internal error: Segmentation fault. "Corrected a problem in the way caching was done while converting/hashing string to IDs and the way memory was being managed for caching class."
7869
Environment
Incorrect message on count of new units controlled Corrected error under CMVC where summary count was incorrect.
8013
Apex/ClearCase
Enable C++ Linking' fails silently if Policy/Switches is not checked out. Update made to dialog and underlying scripts to properly handle setting Enable C++ Linking in ClearCase view.Additional modifications to the enable/disable dialogs to add the checkout of artifacts."
8133
Apex/ClearCase
Creating new directories/files is slow Performance improvements made to operation.
8285
Apex Ada
Type derived from generic formal does not inherit record structure. This area of the compiler was reworked for the 4.2.0 release and this error has been corrected.
8352
Environment
"Assertion_Error compiling a protected object with access parameters Correction to the compiler where an assertion error was raised on the detection that a type declared in another unit should already have been frozen
8392
Environment
Right click on Navigate button does not show 'More Other Places'Improved reallocation of ""additional entries"" for Navigate popup"
8398
Environment
Improve error reporting when disk quota is reached Text server handles request to display non-existant file
8409
DUO
dependencies' fails to work with Tools.h++. Provided dependencies support when using sparc compiler
8420
Environment
"Tools:Targets dialog, empty List of Targets - kills dialog server" Handle ""no selection"" for targets"
8440
Debugger
"Complex discriminant records, debugger cannot display all fields" Corrected error in the debugger where its handling of derived record types was incomplete.
8448
Debugger
Solaris native debugger gets internal assertion error "Correction to the debugger for a the situation where an attached of a_db to a running PowerPC simulator, if after telling the debugger to ""go"", while in windowed mode, a subsequent use of a cursor movement key, such as 'j', the debugger would crash with an assertion error.
8453
Environment
crdir fails if directory name starts with '_'Allow names starting with '_' for view subdirectories
8466
C++
"Compiler option '-shortenum', contents of address not correctly masked" Apex C/C++ compiler updated to properly handle -shortenum option"
8468
Apex/ClearCase
Remote build for Apex with Clearcase Implemented distributed execute under Apex/Clearcase
8472
Environment
Errors on instantiations of the Booch components. " Corrected an error in the compiler which was resulting in a middle-pass assertion_error while compiling Booch components.
8493
Environment
Errors using Import Text Files. "Update made to correct an error in compileImportTextFiles dialog occuring when file to import was outside a view."
8498
Environment
Can't link Apex 3.2.0b after ld upgrade for Apex 4.2.0. A check made by the 4.2.0 release to qualify that the correct version of the platform linker was in use produced a misleading message that could result in the incorrect OS-specific patch from Sun being applied. The messages have been updated to more clearly identify the proper patch.
8505
Ada Environment
Lynx: segmentation fault. Corrected compiler failure in the handling of the access-to-subprogram type of the discriminants on PowerPC platforms.
8614
Apex C/C++
Errors finding c compiler were corrected.
8643
Environment
Errors were being issued when using the Merger dialog. Corrected a variable name in the Merge dialog.
8737
DUO
Corrections made to enable_cpp_linking to set compile kind in the view switches.
8497 8518 8615 8665 8673 9096
Environment
Issues with apex_upgrade have been addressed.
9165
Ada Environment
Getting prof instead of gprof. Corrections made to ada link process to get requested profiling.
RATLC01099944
Apex Embedded
ERROR: __BUILTIN_NEXT_ARG IS NOT DEFINED
N/A
Apex/ClearCase
The following features have been added for Apex/ClearCase
-note
-show_difference
-show_version_image
-added tracing

N/A
Debugger
Improvements have been made to debugger to support composite parameters passed by value and split values.
N/A
Debugger
Improvements have been made to the debugger to allow the examination of trace buffers in a core dump file.