On Wednesday 14 September 2016 02:06:16 Fred van Stappen wrote:
> Re-re-re-re-re....-re hello Martin.
>
> Please, read this after my 2 previous mails.
>
> I have tested to change in cwstring, at line 118:
> {$ifndef Darwin} with {$ifndef Darwin and ndef FreeBSD} this:
>
>
> {$ifndef Darwin and ndef FreeBSD} // originally was {$ifndef Darwin}
> function iconv_open(__tocode:pchar;
> __fromcode:pchar):iconv_t;cdecl;external libiconvname name 'iconv_open';
> function iconv(__cd:iconv_t; __inbuf:ppchar; __inbytesleft:psize_t;
> __outbuf:ppchar; __outbytesleft:psize_t):size_t;cdecl;external libiconvname
> name 'iconv'; function iconv_close(__cd:iconv_t):cint;cdecl;external
> libiconvname name 'iconv_close'; {$else}
> function iconv_open(__tocode:pchar;
> __fromcode:pchar):iconv_t;cdecl;external libiconvname name 'libiconv_open';
> function iconv(__cd:iconv_t; __inbuf:ppchar; __inbytesleft:psize_t;
> __outbuf:ppchar; __outbytesleft:psize_t):size_t;cdecl;external libiconvname
> name 'libiconv'; function iconv_close(__cd:iconv_t):cint;cdecl;external
> libiconvname name 'libiconv_close'; {$endif}
>
I assume FreeBSD5 also has no "lib" prefix. git master
af03e737d40125c8772aedcba56095d101632544 uses "lib" for FreeBSD, please test.
>
> And now, after compiling, MSE applications can run with old and new
> libiconv.so.
>
> Conclusion: Why FreeBSD libiconv maintainer decided, without any advice, to
> not export method iconv_open anymore ?
>
And they have the *same* version number!
> Ok, problem solved (but no hair any more).
> Now I really go to sleep.
>
> PS: May I propose you to create a {$ define Unix} in place of {$ define
> Linux} (and use Linux, Darwin and FreeBSD as child of Unix), this before
> that FreeBSD people see that you make FreeBSD a child of Linux in your
> code.
>
Where?
Martin
------------------------------------------------------------------------------
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk