EiffelStudio 6.2 GPL /COM library error

5 Messages Forum Options Options
Embed this topic
Permalink
Hubert Cater
EiffelStudio 6.2 GPL /COM library error
Reply Threaded MoreMore options
Print post
Permalink
If I add the COM library to my project I receive the following error
upon initial compilation:

Visibility Conflict, external class name different: INTEGER_32_REF and
INTEGER_REF

Anyone know why this might be reported and how I can work around this?

Peter Gummer-2
Re: EiffelStudio 6.2 GPL /COM library error
Reply Threaded MoreMore options
Print post
Permalink
hubertcater wrote:
> If I add the COM library to my project I receive the following error
> upon initial compilation:
>
> Visibility Conflict, external class name different: INTEGER_32_REF and
> INTEGER_REF
>  


I've never seen that particular error, Hubert, but INTEGER_REF is an
alias for INTEGER_32_REF. They are one and the same class: two names,
one class. Maybe your ECF is declaring both names as "visible". Just a
guess.

- Peter Gummer

Hubert Cater
Re: EiffelStudio 6.2 GPL /COM library error
Reply Threaded MoreMore options
Print post
Permalink
Hi Peter,

It is a strange error as this is the standard library for COM included
in the 6.2 release.  Looking at the com.ecf file the only reference to
either INTEGER_32_REF or INTEGER_REF is in the following line:

<library name="base" location="$ISE_LIBRARY\library\base\base.ecf">
                        <visible class="INTEGER_32_REF"/>

Changing it to INTEGER_REF did not seem to make a difference.

Hubert


Peter Gummer wrote:

>
>
> hubertcater wrote:
>  > If I add the COM library to my project I receive the following error
>  > upon initial compilation:
>  >
>  > Visibility Conflict, external class name different: INTEGER_32_REF and
>  > INTEGER_REF
>  >
>
> I've never seen that particular error, Hubert, but INTEGER_REF is an
> alias for INTEGER_32_REF. They are one and the same class: two names,
> one class. Maybe your ECF is declaring both names as "visible". Just a
> guess.
>
> - Peter Gummer
>
>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.169 / Virus Database: 270.6.21/1675 - Release Date: 9/16/2008 7:06 PM
>

--
Fury Software
http://www.furysoftware.com

Battlefront.com
http://www.battlefront.com
Hubert Cater
Re: EiffelStudio 6.2 GPL /COM library error
Reply Threaded MoreMore options
Print post
Permalink
In reply to this post by Peter Gummer-2
Just an update that if I removed the offending line, i.e. <visible
class="INTEGER_32_REF"/> from the com.ecf file I was able to
successfully compile but there still seems to be an issue with COM on
6.2 as my projects will not run without an Operating System Signal.

I've submitted a bug report as I can no longer test 6.2 without getting
past this issue.

Hubert


Peter Gummer wrote:

>
>
> hubertcater wrote:
>  > If I add the COM library to my project I receive the following error
>  > upon initial compilation:
>  >
>  > Visibility Conflict, external class name different: INTEGER_32_REF and
>  > INTEGER_REF
>  >
>
> I've never seen that particular error, Hubert, but INTEGER_REF is an
> alias for INTEGER_32_REF. They are one and the same class: two names,
> one class. Maybe your ECF is declaring both names as "visible". Just a
> guess.
>
> - Peter Gummer
>
>
>
>
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.169 / Virus Database: 270.6.21/1675 - Release Date: 9/16/2008 7:06 PM
>

--
Fury Software
http://www.furysoftware.com

Battlefront.com
http://www.battlefront.com

Emmanuel Stapf
RE: EiffelStudio 6.2 GPL /COM library error
Reply Threaded MoreMore options
Print post
Permalink
> Just an update that if I removed the offending line, i.e.
> <visible
> class="INTEGER_32_REF"/> from the com.ecf file I was able to
> successfully compile but there still seems to be an issue with COM on
> 6.2 as my projects will not run without an Operating System Signal.

The issue is that both com.ecf and your ecf file have a different visible clause
for the same class. In your ecf file it is INTEGER_REF and in the com.ecf file it
is INTEGER_32_REF thus the error by the compile, the same class cannot be known
under 2 different names on the non-Eiffel side.

Regards,
Manu


------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------