Re: 'Select' errors for a deferred class, Vision2 gec compilation problems

Howard Thomson <[email protected]> Thu, 24 May 2012 23:55:44 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <1337900144.22560.46.camel@ht-laptop>
Hi Eric,

I have since done a git merge from the current gobo-eiffel on GitHub,
with the last reconciliation done more than a year ago, so this may have
been fixed, and I will do some further checking on the currency of the
problem.

In the meantime, since updating to using EiffelStudio version 7.0.8.8074
and attempting to compile [today] with gec, compiling with my 'guide'
version and gec [albeit from ~ 15-June-2011], I get a syntax error in
the class EV_COMBO_BOX:

Syntax error:
line 113 column 51 in /data/Eiffel70/library/vision2/interface/widgets/primitives/ev_combo_box.e
		ensure
			text_set: check_text_modification ({STRING_32} "", a_text.as_string_32)
			                                               ^
		end

With other projects on the go, working with the vision2 code has lagged,
but I will be getting back to that shortly ...

Regards,

Howard



-----Original Message-----
From: Eric Bezault <[email protected]>
To: Gobo Developers Mailing List
<[email protected]>
Cc: Howard Thomson <[email protected]>
Subject: Re: 'Select' errors for a deferred class
Date: Thu, 24 May 2012 13:16:16 +0200

Hi Howard,

On 5/7/2012 12:19 AM, Howard Thomson wrote:
> I am using gec and ec to compile a program that uses the Vision2 library
> from the Eiffel Software distribution.
>
> Compiling with gec reports an error:
>
> [VMRC-2] class EV_WIDGET_LIST (29,2): replicated features
> EV_DYNAMIC_LIST.put, EV_CONTAINER.cl_put have not been selected.
>
> However, compiling the Vision2 example 'widgets' program, which also
> uses  EV_WIDGET_LIST, with ec does not report such an error.
>
> Does the fact that EV_WIDGET_LIST is a deferred class have anything to
> do with the difference in error treatment, or is this a probable bug in
> the current gec implementation ?

Did you manage to understand what the problem was?
What version of EiffelVision2 did you use? I already compiled
classes from EiffelVision2 with Gobo in the past, and never
saw this kind of problem.


-- 
Howard Thomson <[email protected]>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/