I am getting VEVI errors in library code.
I am using the experimental libraries.
I am compiling for a .NET target.
Sample error reports and .ecf file follow:
=========================================================
VEVI: Variable is not properly set. Attribute: toolbar: EV_TOOL_BAR_IMP from EV_INTERNAL_TOOL_BAR_IMP IDENTIFIED_ROUTINES.eif_object_id (ise) 42, 73
Error code: VEVI
Error: variable is not properly set.
What to do: ensure the variable is properly set by the corresponding
setter instruction.
Class: EV_INTERNAL_TOOL_BAR_IMP
Source class: IDENTIFIED_ROUTINES
Feature: eif_object_id
Creation procedure: make_with_toolbar (a_parent: WEL_COMPOSITE_WINDOW; a_toolbar_imp: EV_TOOL_BAR_IMP) declared in EV_INTERNAL_TOOL_BAR_IMP
Attribute: toolbar: EV_TOOL_BAR_IMP from EV_INTERNAL_TOOL_BAR_IMP
Line: 42
l_success := xyz_mutex.wait_one
-> xyz_reference_list.extend (create {WEAK_REFERENCE}.make_from_target (Current))
Result := xyz_reference_list.count
=========================================================
VEVI: Variable is not properly set. Attribute: toolbar: EV_TOOL_BAR_IMP from EV_INTERNAL_TOOL_BAR_IMP WEL_IDENTIFIED.eif_is_object_id_of_current (wel) 28, 38
Error code: VEVI
Error: variable is not properly set.
What to do: ensure the variable is properly set by the corresponding
setter instruction.
Class: EV_INTERNAL_TOOL_BAR_IMP
Source class: WEL_IDENTIFIED
Feature: eif_is_object_id_of_current
Creation procedure: make_with_toolbar (a_parent: WEL_COMPOSITE_WINDOW; a_toolbar_imp: EV_TOOL_BAR_IMP) declared in EV_INTERNAL_TOOL_BAR_IMP
Attribute: toolbar: EV_TOOL_BAR_IMP from EV_INTERNAL_TOOL_BAR_IMP
Line: 28
do
-> Result := eif_id_object (an_id) = Current
end
================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<system xmlns="
http://www.eiffel.com/developers/xml/configuration-1-5-0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.eiffel.com/developers/xml/configuration-1-5-0 http://www.eiffel.com/developers/xml/configuration-1-5-0.xsd" name="room_performance_animator_void_safe" uuid="8B63E353-29E8-48F6-920C-0367F5FF8D36">
<target name="room_performance_animator">
<root cluster="root_cluster" class="APPLICATION" feature="make_and_launch"/>
<option warning="true" full_class_checking="true" is_attached_by_default="true" void_safety="all" syntax="standard">
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
</option>
<library name="base-safe" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
<library name="time-safe" location="$ISE_LIBRARY\library\time\time-safe.ecf"/>
<library name="vision2" location="$ISE_LIBRARY\library\vision2\vision2-safe.ecf"/>
<library name="vision2_extension" location="$ISE_LIBRARY\library\vision2_extension\vision2_extension-safe.ecf"/>
<library name="wel" location="$ISE_LIBRARY\library\wel\wel-safe.ecf"/>
<assembly name="microsoft.office.interop.excel" location="c:\Program Files\Microsoft Visual Studio 9.0\Visual Studio Tools for Office\PIA\Office11\Microsoft.Office.Interop.Excel.dll" prefix="EXCEL_"/>
<assembly name="mscorlib" location="$ISE_DOTNET_FRAMEWORK\mscorlib.dll"/>
<assembly name="presentationcore" location="c:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\PresentationCore.dll" prefix="WINDOWS_"/>
<assembly name="system.drawing" location="$ISE_DOTNET_FRAMEWORK\System.Drawing.dll" prefix="SYSTEM_DRAWING_"/>
<assembly name="system.windows.forms" location="$ISE_DOTNET_FRAMEWORK\System.Windows.Forms.dll" prefix="WINFORMS_"/>
<cluster name="root_cluster" location=".\" recursive="true">
<file_rule>
<exclude>/EIFGENs$</exclude>
<exclude>/.svn$</exclude>
<exclude>/CVS$</exclude>
</file_rule>
<visible class="MAIN_WINDOW" feature="n_i"/>
<visible class="MAIN_WINDOW" feature="next_image"/>
</cluster>
</target>
<target name="room_performance_animator_dotnet" extends="room_performance_animator">
<setting name="dotnet_naming_convention" value="True"/>
<setting name="msil_generation" value="true"/>
</target>
</system>
==============================================
--
Peter Horan