Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Avoid strange women and temporary variables.


devel / comp.lang.xharbour / 64 bit builds broken

SubjectAuthor
* 64 bit builds brokenEnrico Maria Giordano
`* Re: 64 bit builds brokenEnrico Maria Giordano
 `* Re: 64 bit builds brokenEnrico Maria Giordano
  `* Re: 64 bit builds brokenEnrico Maria Giordano
   `* Re: 64 bit builds brokenRon Pinkas
    `- Re: 64 bit builds brokenEnrico Maria Giordano

1
64 bit builds broken

<uor918$1rl40$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18620&group=comp.lang.xharbour#18620

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: 64 bit builds broken
Date: Wed, 24 Jan 2024 16:06:18 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <uor918$1rl40$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 24 Jan 2024 15:06:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c4843dc4f2b1ebf59110a3a0ce512734";
logging-data="1954944"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0NzJU1a3ogJSlp4uIwP3+"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mEGhlkgnfIlalvDCLAh1smMQwf4=
Content-Language: it
 by: Enrico Maria Giordan - Wed, 24 Jan 2024 15:06 UTC

Hi Ron, these changea broke 64 bit builds:

2023-12-26 22:32 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
* source\rtl\dllcall.c
* Fixed wrong nested structure of #ifdefs
! Fixed #ifdef HB_OS_WIN_32 to add '&& ! defined( HB_OS_WIN_64 )'
* winmake/makefile.bc
+ Added NODLL_FLAG set to -DNODLL when HB_ARCH==w64

It reverted my previous change:

2022-11-14 10:47 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
* source\rtl\dllcall.c
! always define LoadLibrary(), FreeLibrary() and GetLastError()
functions for Win builds

How did you do that? Can I fix it?

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: 64 bit builds broken

<uor95t$1rl40$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18621&group=comp.lang.xharbour#18621

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: 64 bit builds broken
Date: Wed, 24 Jan 2024 16:08:46 +0100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <uor95t$1rl40$2@dont-email.me>
References: <uor918$1rl40$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 24 Jan 2024 15:08:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c4843dc4f2b1ebf59110a3a0ce512734";
logging-data="1954944"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DwTXu46Jjq30lCq4in+6B"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:cck6UK0pHE5niZSScaAB5hROib8=
Content-Language: it
In-Reply-To: <uor918$1rl40$1@dont-email.me>
 by: Enrico Maria Giordan - Wed, 24 Jan 2024 15:08 UTC

Il 24/01/2024 16:06, Enrico Maria Giordano ha scritto:

> Hi Ron, these changea broke 64 bit builds:
>
> 2023-12-26 22:32 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
>   * source\rtl\dllcall.c
>     * Fixed wrong nested structure of #ifdefs
>     ! Fixed #ifdef HB_OS_WIN_32 to add '&& ! defined( HB_OS_WIN_64 )'
>   * winmake/makefile.bc
>     + Added NODLL_FLAG set to -DNODLL when HB_ARCH==w64
>
> It reverted my previous change:
>
> 2022-11-14 10:47 UTC+0100 Enrico Maria Giordano
> <e.m.giordano@emagsoftware.it>
>   * source\rtl\dllcall.c
>     ! always define LoadLibrary(), FreeLibrary() and GetLastError()
> functions for Win builds
>
> How did you do that? Can I fix it?

I forgot to mention that now I get the following errors compiling a PRG
sample with a 64 bit compiler:

error LNK2001: unresolved external symbol HB_FUN_GETLASTERROR
error LNK2001: unresolved external symbol HB_FUN_LOADLIBRARY
error LNK2001: unresolved external symbol HB_FUN_FREELIBRARY

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: 64 bit builds broken

<uorn51$1u2av$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18622&group=comp.lang.xharbour#18622

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: 64 bit builds broken
Date: Wed, 24 Jan 2024 20:07:13 +0100
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <uorn51$1u2av$1@dont-email.me>
References: <uor918$1rl40$1@dont-email.me> <uor95t$1rl40$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 24 Jan 2024 19:07:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c4843dc4f2b1ebf59110a3a0ce512734";
logging-data="2034015"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Hckd7natw45GzHKe3kwWS"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VEXB0xb8Q+fGpueFgr5aH0NnK/U=
In-Reply-To: <uor95t$1rl40$2@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Wed, 24 Jan 2024 19:07 UTC

Il 24/01/2024 16:08, Enrico Maria Giordano ha scritto:

> I forgot to mention that now I get the following errors compiling a PRG
> sample with a 64 bit compiler:
>
> error LNK2001: unresolved external symbol HB_FUN_GETLASTERROR
> error LNK2001: unresolved external symbol HB_FUN_LOADLIBRARY
> error LNK2001: unresolved external symbol HB_FUN_FREELIBRARY

This is a sample:

FUNCTION MAIN()

? GETLASTERROR()

INKEY( 0 )

RETURN NIL

Result with MSC32:

2

Result with MSC64:

TEST.obj : error LNK2001: unresolved external symbol HB_FUN_GETLASTERROR

I think that the 3 wrappers GETLASTERROR, LOADLIBRARY and FREELIBRARY
should always be available, 32 bit and 64 bit under Windows.

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: 64 bit builds broken

<uotfsm$29dk6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18623&group=comp.lang.xharbour#18623

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: 64 bit builds broken
Date: Thu, 25 Jan 2024 12:15:35 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <uotfsm$29dk6$1@dont-email.me>
References: <uor918$1rl40$1@dont-email.me> <uor95t$1rl40$2@dont-email.me>
<uorn51$1u2av$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 25 Jan 2024 11:15:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5d127260a39fbfcd85c4825fa5de5b3d";
logging-data="2406022"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX199GF/VURYVOMQhpmd72BGD"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:UjNkx+NopEZ0qVM/nBR2sBfFGV8=
Content-Language: it
In-Reply-To: <uorn51$1u2av$1@dont-email.me>
 by: Enrico Maria Giordan - Thu, 25 Jan 2024 11:15 UTC

Il 24/01/2024 20:07, Enrico Maria Giordano ha scritto:

> I think that the 3 wrappers GETLASTERROR, LOADLIBRARY and FREELIBRARY
> should always be available, 32 bit and 64 bit under Windows.

Ron, I'm still waiting for your OK...

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: 64 bit builds broken

<uq1cpu$1lvt7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18635&group=comp.lang.xharbour#18635

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ron@ronpinkas.com (Ron Pinkas)
Newsgroups: comp.lang.xharbour
Subject: Re: 64 bit builds broken
Date: Wed, 7 Feb 2024 21:03:42 -0500
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <uq1cpu$1lvt7$1@dont-email.me>
References: <uor918$1rl40$1@dont-email.me> <uor95t$1rl40$2@dont-email.me> <uorn51$1u2av$1@dont-email.me> <uotfsm$29dk6$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Thu, 8 Feb 2024 02:03:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b3dc469450188711a9a3e9e7f3d28c02";
logging-data="1769383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+S+F3euHZ78Yhll4a6777oFiHntJsOJnE="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:t2gDusnINOe6i7zhyYIoy/nvsaU=
 by: Ron Pinkas - Thu, 8 Feb 2024 02:03 UTC

Enrico Maria Giordano wrote:
>
>
> Il 24/01/2024 20:07, Enrico Maria Giordano ha scritto:
>
> > I think that the 3 wrappers GETLASTERROR, LOADLIBRARY and FREELIBRARY
> > should always be available, 32 bit and 64 bit under Windows.
>
> Ron, I'm still waiting for your OK...
>

Sorry Enrico, I did not get here till just now - ye, its ok - sorry.

Re: 64 bit builds broken

<uq2841$1th7a$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=18637&group=comp.lang.xharbour#18637

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: 64 bit builds broken
Date: Thu, 8 Feb 2024 10:49:54 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uq2841$1th7a$1@dont-email.me>
References: <uor918$1rl40$1@dont-email.me> <uor95t$1rl40$2@dont-email.me>
<uorn51$1u2av$1@dont-email.me> <uotfsm$29dk6$1@dont-email.me>
<uq1cpu$1lvt7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 8 Feb 2024 09:49:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="49008edef532e8fe08f94c1df7294d1e";
logging-data="2016490"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192lNK5gkCQYeHcsa5QDHpz"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JwS4TqLwDxBXuEImtxTdGkshFUA=
In-Reply-To: <uq1cpu$1lvt7$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Thu, 8 Feb 2024 09:49 UTC

Il 08/02/2024 03:03, Ron Pinkas ha scritto:

> Sorry Enrico, I did not get here till just now - ye, its ok - sorry.

Never mind, fixed with this:

2024-01-26 23:50 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
* source\rtl\dllcall.c
! always define LoadLibrary(), FreeLibrary() and GetLastError()
functions for Windows builds

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor