Anytime someone says a thing (sometimes) works, I immediately have to
suspect an uninitialized, or improperly initialized pointer somewhere,
especially with software written in C or C++.
Not that I'm volunteering to track down the problem... ;)

--------------------
George

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
> Behalf Of Kevin Glynn
> Sent: Friday, July 20, 2007 12:43 PM
> To: Mozart users
> Subject: Re: Module.link weirdness
> 
> 
> 
> Pavel writes:
>  > Thanks, that did the trick.
> 
> Good to hear.
> 
>  > I find it very surprising that this problem is present under
Solaris,
> but
>  > not under OS X or Windows. On the other hand, this is not the first
> time
>  > for me. I had a problem compiling native modules on Solaris before
I
> found
>  > out that -mimpure-text option is needed in many cases(another thing
> that
>  > should be added to documentation)
>  >
>  > Regarding where this should be mentioned in the documentation, the
best
>  > solution IMO is to add a Solaris-specific page to
>  > http://www.mozart-oz.org/documentation/foreign/index.html just like
the
>  > windows-specific page already there. I know that when I discovered
the
>  > problem I started googling for Solaris-specific stuff instead of
> reading
>  > the documentation one more time. If that's not an option for
whatever
>  > reason, putting that somewhere under 4.3 would be good.
>  >
> 
> Instead, developers should declare oz_interface to be static on all
> platforms. It is a fluke that it (sometimes) works on Windows and
> macosx.
> 
> In the example in section 2 of the document you point to, oz_interface
> *is* declared to be static. So my question really is, where did you
> get the idea that it didn't need to be? ;-).
> 
> k
> 
> 
>
________________________________________________________________________
__
> _______
> mozart-users mailing list                               mozart-
> [EMAIL PROTECTED]
> http://www.mozart-oz.org/mailman/listinfo/mozart-users
_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to