Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Pull the wool over your own eyes!" -- J. R. "Bob" Dobbs


devel / comp.lang.xharbour / ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

SubjectAuthor
* ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
`* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
 +- Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
 +* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
 |+* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
 ||`* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
 || `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
 ||  `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
 ||   `- Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
 |`* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
 | `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
 |  `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
 |   `- Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
 `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
  `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
   `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano
    `* Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>Ron Pinkas
     `- Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron PinkasEnrico Maria Giordano

1
ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<ulvg7b$mgm3$1@dont-email.me>

  copy mid

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

  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: ron@ronpinkas.com (Ron Pinkas)
Newsgroups: comp.lang.xharbour
Subject: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Wed, 20 Dec 2023 14:44:37 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <ulvg7b$mgm3$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Wed, 20 Dec 2023 19:44:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f2edd053f5800f2cc96d5cbdd8d4b0ad";
logging-data="737987"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oYgUY6erTlEuKtXh1dVxmFS85eUqmNEg="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:pjvRZYh+V9jydy4/sbal/Y7kkoA=
 by: Ron Pinkas - Wed, 20 Dec 2023 19:44 UTC

2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
* .gitignore
+ *.json
+ contrib/hbhpdf/tests/.gitignore
+ New for this dir
+ *.c

* bin/bld_vc.bat
+ Added detection of VS2022
+ Added assignment of respective __MSC__ version

* make_vc.bat
+ Added assignment of respective __MSC__ version

* bin/bld.bat
+ Added logic to default HB_INSTALL HB_BIN_INSTALL HB_LIB_INSTTALL and HB_INC_INSTALL
based on the directory from which bld.bat was loaded.
- Removed explicit HB_LIB_INSTALL for each library in MSVC section
+ Added /LIBPATH=%HB_LIB_INSTALL% to LDFLAGS in MSVC secttion
+ Added libharu.lib hbhpdf.lib and png.lib to default libraries (if exist) in MSVC section
+ Added enclosing "" around %HB_INC_INSTALL% in -I switch in MSVC section

* winmake/common.mak
+ Added hpdf_direct and hpdf_shading to LIBHARU_LIB_OBJS
* winmake/makefile.vc
+ Added CC_CMD_HARU
* winmake/compile.mak
+ Added hpdf_direct and hpdf_shading to HBHPDF.LIB dependencies
* Changed HBHPDF.LIB dependencies to use CC_CMD_HARU instead of CC_CMD
to use C compilattion instead of C++
* winmake/msvcerr.vc
+ Added messages for __MSC__ 16 and 17

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<ulvhft$mnj2$1@dont-email.me>

  copy mid

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

  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: ron@ronpinkas.com (Ron Pinkas)
Newsgroups: comp.lang.xharbour
Subject: Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Wed, 20 Dec 2023 15:06:15 -0500
Organization: A noiseless patient Spider
Lines: 68
Message-ID: <ulvhft$mnj2$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Wed, 20 Dec 2023 20:06:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1df142b1dd82f397c37c8aaaf3adc630";
logging-data="745058"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Kb2MLOgn6idn91l10v47tIfqy8i6Pqeo="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:ZW3Gcrk6JMwzrZWR4Z21sLjx+hY=
 by: Ron Pinkas - Wed, 20 Dec 2023 20:06 UTC

Ron Pinkas wrote:
>
> 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
> * .gitignore
> + *.json
> + contrib/hbhpdf/tests/.gitignore
> + New for this dir
> + *.c
>
> * bin/bld_vc.bat
> + Added detection of VS2022
> + Added assignment of respective __MSC__ version
>
> * make_vc.bat
> + Added assignment of respective __MSC__ version
>
> * bin/bld.bat
> + Added logic to default HB_INSTALL HB_BIN_INSTALL HB_LIB_INSTTALL and HB_INC_INSTALL
> based on the directory from which bld.bat was loaded.
> - Removed explicit HB_LIB_INSTALL for each library in MSVC section
> + Added /LIBPATH=%HB_LIB_INSTALL% to LDFLAGS in MSVC secttion
> + Added libharu.lib hbhpdf.lib and png.lib to default libraries (if exist) in MSVC section
> + Added enclosing "" around %HB_INC_INSTALL% in -I switch in MSVC section
>
> * winmake/common.mak
> + Added hpdf_direct and hpdf_shading to LIBHARU_LIB_OBJS
> * winmake/makefile.vc
> + Added CC_CMD_HARU
> * winmake/compile.mak
> + Added hpdf_direct and hpdf_shading to HBHPDF.LIB dependencies
> * Changed HBHPDF.LIB dependencies to use CC_CMD_HARU instead of CC_CMD
> to use C compilattion instead of C++
> * winmake/msvcerr.vc
> + Added messages for __MSC__ 16 and 17

Enrico,

I ended up "fixing" the MSVC build of libharu by simply forcing C mode
instead of C++ compilation (no -TP switch).

We can use same solution for any other compiler which compies in C++
mode and thus produces errors in void pointers which shoulld be
typed pointers.

Now I need your help with BCC - there are mulltiple different issues
to understand.

1. Some/Most BCC versions are not C99 compliant and thus produce error
on code like this:

for (HPDF_UINT32 i = 0; i < prec; i++) {
fpart_val = modff(fpart_val*10.0, &int_val);
*s++ = (char)(int_val + 0.5) + '0';
}

C Compiler need to support declaration of variable in the loop
initialization.

C99 also added modff()

You told me that you use latest BCC and yet spoke about modff() missing
but this does not make sense since current standard math.h header must
have modff(). So we need to better review and understand BCC versions.

2. Errors on incompatible pointers. This happens due to C++ compilation
and you can fix it by ssimply switching to C compilattion.

Ron

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<ulvp7i$nr1i$1@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Wed, 20 Dec 2023 23:18:26 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <ulvp7i$nr1i$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 20 Dec 2023 22:18:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="36c7461317fa94045fabd808aff9f829";
logging-data="781362"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rarOEQ8069H6+14tuSzVV"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Fi9M8rMVDO79PXOT03Hp85BTfjI=
Content-Language: it
In-Reply-To: <ulvhft$mnj2$1@dont-email.me>
 by: Enrico Maria Giordan - Wed, 20 Dec 2023 22:18 UTC

Il 20/12/2023 21:06, Ron Pinkas ha scritto:

> Enrico,
>
> I ended up "fixing" the MSVC build of libharu by simply forcing C mode
> instead of C++ compilation (no -TP switch).
> [...]

Tomorrow I will look at this message of yours carefully. Many thanks!

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um13vk$11ju5$1@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 11:28:06 +0100
Organization: A noiseless patient Spider
Lines: 79
Message-ID: <um13vk$11ju5$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 10:28:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1101765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kRZMN9JQVG0vPu7Og+w5k"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:6rjSAWcsj8PN4jpeZ7jEKOvR9Z4=
In-Reply-To: <ulvhft$mnj2$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 10:28 UTC

Il 20/12/2023 21:06, Ron Pinkas ha scritto:

> I ended up "fixing" the MSVC build of libharu by simply forcing C mode
> instead of C++ compilation (no -TP switch).

Great idea! I vaguely thought about that solution but I did not apply
it. Thank you!

Now an important (at least for me) question: we have to leave all the
contribs alone or only hbhpdf? Can I continue to fix warnings in the
contrib directory or not? Please clarify.

There are still warnings for hbhpdf:

contrib\hbhpdf\hpdf_utils.c(223): warning C4244: 'function': conversion
from 'double' to 'float', possible loss of data
contrib\hbhpdf\hpdf_utils.c(236): warning C4244: 'function': conversion
from 'double' to 'float', possible loss of data

contrib\hbhpdf\hpdf_encoder.c(2766): warning C4244: 'initializing':
conversion from 'HPDF_UINT16' to 'HPDF_BYTE', possible loss of data

contrib\hbhpdf\hpdf_fontdef_tt.c(2070): warning C4389: '==':
signed/unsigned mismatch
contrib\hbhpdf\hpdf_fontdef_tt.c(2076): warning C4244: 'function':
conversion from 'HPDF_UINT32' to 'HPDF_UINT16', possible loss of data
contrib\hbhpdf\hpdf_fontdef_tt.c(2077): warning C4244: 'function':
conversion from 'HPDF_UINT32' to 'HPDF_INT16', possible loss of data
contrib\hbhpdf\hpdf_fontdef_tt.c(2087): warning C4244: 'function':
conversion from 'HPDF_UINT32' to 'HPDF_INT16', possible loss of data

contrib\hbhpdf\hpdf_font_cid.c(411): warning C4244: 'initializing':
conversion from 'HPDF_UINT' to 'HPDF_UNICODE', possible loss of data

contrib\hbhpdf\hpdf_gstate.c(73): warning C4244: 'initializing':
conversion from 'float' to 'HPDF_UINT', possible loss of data

contrib\hbhpdf\hpdf_pages.c(1192): warning C4244: 'initializing':
conversion from 'float' to 'HPDF_UINT', possible loss of data

contrib\hbhpdf\hpdf_page_operator.c(24): warning C4244: 'initializing':
conversion from 'float' to 'HPDF_UINT', possible loss of data
contrib\hbhpdf\hpdf_page_operator.c(198): warning C4244: 'function':
conversion from 'HPDF_REAL' to 'HPDF_STATUS', possible loss of data
contrib\hbhpdf\hpdf_page_operator.c(202): warning C4244: 'function':
conversion from 'HPDF_REAL' to 'HPDF_STATUS', possible loss of data
contrib\hbhpdf\hpdf_page_operator.c(1189): warning C4244: 'function':
conversion from 'HPDF_REAL' to 'HPDF_STATUS', possible loss of data

contrib\hbhpdf\hpdf_image.c(202): warning C4456: declaration of 'ret'
hides previous local declaration
contrib\hbhpdf\hpdf_image.c(176): note: see declaration of 'ret'

contrib\hbhpdf\hpdf_image_png.c(351): warning C4018: '<':
signed/unsigned mismatch

contrib\hbhpdf\hpdf_pdfa.c(154): warning C4189: 'info': local variable
is initialized but not referenced

contrib\hbhpdf\hpdf_encoder_utf.c(172): warning C4244: 'return':
conversion from 'unsigned int' to 'HPDF_UNICODE', possible loss of data
contrib\hbhpdf\hpdf_encoder_utf.c(133): warning C4100: 'code':
unreferenced formal parameter

contrib\hbhpdf\hpdf_image_ccitt.c(410) : warning C4706: assignment
within conditional expression
contrib\hbhpdf\hpdf_image_ccitt.c(469) : warning C4706: assignment
within conditional expression

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um141t$11ju5$2@dont-email.me>

  copy mid

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

  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: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 11:29:18 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <um141t$11ju5$2@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
<um13vk$11ju5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 10:29:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1101765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19l0Y7saTEKSBSLoKGXNTdO"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:k4jd1CZPRb1jkMyVHD8g0d+Kr60=
In-Reply-To: <um13vk$11ju5$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 10:29 UTC

Il 21/12/2023 11:28, Enrico Maria Giordano ha scritto:

> There are still warnings for hbhpdf:

Do I have suppress them using compiler switches like -wdxxx in my build
batch? Let me know.

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um175j$123si$1@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 12:22:28 +0100
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <um175j$123si$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 11:22:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1118098"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/j566dPX/ghpRmnDiD2ApC"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:+Zplutt/k+k0Ygz99lHQMB9YK3Q=
Content-Language: it
In-Reply-To: <ulvhft$mnj2$1@dont-email.me>
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 11:22 UTC

Il 20/12/2023 21:06, Ron Pinkas ha scritto:

> 1. Some/Most BCC versions are not C99 compliant and thus produce error
> on code like this:
>
> for (HPDF_UINT32 i = 0; i < prec; i++) {
> fpart_val = modff(fpart_val*10.0, &int_val);
> *s++ = (char)(int_val + 0.5) + '0';
> }
>
> C Compiler need to support declaration of variable in the loop
> initialization.
>
> C99 also added modff()
>
> You told me that you use latest BCC and yet spoke about modff() missing
> but this does not make sense since current standard math.h header must
> have modff(). So we need to better review and understand BCC versions.

If those are the requirements then we have no other choices than
dropping support for bcc32.exe and forcing use of bcc32c.exe. But I
don't think we have to do that. I just built xHarbour for BCC32 using
bcc32.exe and found no errors and no warnings (using only -w-prc
-w-use). So what's the problem?

> 2. Errors on incompatible pointers. This happens due to C++ compilation
> and you can fix it by ssimply switching to C compilattion.

Ok, I will keep it in mind for the future.

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1nar$14kek$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 10:58:14 -0500
Organization: A noiseless patient Spider
Lines: 88
Message-ID: <um1nar$14kek$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me> <um13vk$11ju5$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Thu, 21 Dec 2023 15:58:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9e8acc599d70421763fd43a8f29d54a2";
logging-data="1200596"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19X/yP3Db6bXfomcRuqtVfFY9/8wEP5hM0="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:CcjqYu47ry40IEUrSx33XgYFEPQ=
 by: Ron Pinkas - Thu, 21 Dec 2023 15:58 UTC

Enrico Maria Giordano wrote:
>
>
> Il 20/12/2023 21:06, Ron Pinkas ha scritto:
>
> > I ended up "fixing" the MSVC build of libharu by simply forcing C mode
> > instead of C++ compilation (no -TP switch).
>
> Great idea! I vaguely thought about that solution but I did not apply
> it. Thank you!
>
> Now an important (at least for me) question: we have to leave all the
> contribs alone or only hbhpdf? Can I continue to fix warnings in the
> contrib directory or not? Please clarify.
>
> There are still warnings for hbhpdf:
>
> contrib\hbhpdf\hpdf_utils.c(223): warning C4244: 'function': conversion
> from 'double' to 'float', possible loss of data
> contrib\hbhpdf\hpdf_utils.c(236): warning C4244: 'function': conversion
> from 'double' to 'float', possible loss of data
>
> contrib\hbhpdf\hpdf_encoder.c(2766): warning C4244: 'initializing':
> conversion from 'HPDF_UINT16' to 'HPDF_BYTE', possible loss of data
>
> contrib\hbhpdf\hpdf_fontdef_tt.c(2070): warning C4389: '==':
> signed/unsigned mismatch
> contrib\hbhpdf\hpdf_fontdef_tt.c(2076): warning C4244: 'function':
> conversion from 'HPDF_UINT32' to 'HPDF_UINT16', possible loss of data
> contrib\hbhpdf\hpdf_fontdef_tt.c(2077): warning C4244: 'function':
> conversion from 'HPDF_UINT32' to 'HPDF_INT16', possible loss of data
> contrib\hbhpdf\hpdf_fontdef_tt.c(2087): warning C4244: 'function':
> conversion from 'HPDF_UINT32' to 'HPDF_INT16', possible loss of data
>
> contrib\hbhpdf\hpdf_font_cid.c(411): warning C4244: 'initializing':
> conversion from 'HPDF_UINT' to 'HPDF_UNICODE', possible loss of data
>
> contrib\hbhpdf\hpdf_gstate.c(73): warning C4244: 'initializing':
> conversion from 'float' to 'HPDF_UINT', possible loss of data
>
> contrib\hbhpdf\hpdf_pages.c(1192): warning C4244: 'initializing':
> conversion from 'float' to 'HPDF_UINT', possible loss of data
>
> contrib\hbhpdf\hpdf_page_operator.c(24): warning C4244: 'initializing':
> conversion from 'float' to 'HPDF_UINT', possible loss of data
> contrib\hbhpdf\hpdf_page_operator.c(198): warning C4244: 'function':
> conversion from 'HPDF_REAL' to 'HPDF_STATUS', possible loss of data
> contrib\hbhpdf\hpdf_page_operator.c(202): warning C4244: 'function':
> conversion from 'HPDF_REAL' to 'HPDF_STATUS', possible loss of data
> contrib\hbhpdf\hpdf_page_operator.c(1189): warning C4244: 'function':
> conversion from 'HPDF_REAL' to 'HPDF_STATUS', possible loss of data
>
> contrib\hbhpdf\hpdf_image.c(202): warning C4456: declaration of 'ret'
> hides previous local declaration
> contrib\hbhpdf\hpdf_image.c(176): note: see declaration of 'ret'
>
> contrib\hbhpdf\hpdf_image_png.c(351): warning C4018: '<':
> signed/unsigned mismatch
>
> contrib\hbhpdf\hpdf_pdfa.c(154): warning C4189: 'info': local variable
> is initialized but not referenced
>
> contrib\hbhpdf\hpdf_encoder_utf.c(172): warning C4244: 'return':
> conversion from 'unsigned int' to 'HPDF_UNICODE', possible loss of data
> contrib\hbhpdf\hpdf_encoder_utf.c(133): warning C4100: 'code':
> unreferenced formal parameter
>
> contrib\hbhpdf\hpdf_image_ccitt.c(410) : warning C4706: assignment
> within conditional expression
> contrib\hbhpdf\hpdf_image_ccitt.c(469) : warning C4706: assignment
> within conditional expression
>

My answer is a mix bag :)

1. Code in contrib that is part of xHarbour (like wrappers), in separate
sources, should always be fixed.

2. Original 3rd party sources of live projects should not be modified,
instead it shoulld be reported to respective maintainers (like GitHub
issue). Or, creative fixes that do not modify ooriginal sources.

3. Code borrowed from dead, unmaintained projects should be fixed.

This is just my idea, I hope it makes sennse.

Ron

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1ngc$14kek$2@dont-email.me>

  copy mid

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

  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: ron@ronpinkas.com (Ron Pinkas)
Newsgroups: comp.lang.xharbour
Subject: Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 11:01:15 -0500
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <um1ngc$14kek$2@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me> <um13vk$11ju5$1@dont-email.me> <um141t$11ju5$2@dont-email.me>
MIME-Version: 1.0
Injection-Date: Thu, 21 Dec 2023 16:01:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9e8acc599d70421763fd43a8f29d54a2";
logging-data="1200596"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19evVvJunBGYWjmyNnZ1MghHwT7zm85ocI="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:TSbD9hEd8C/yex/wx2RA8zTCVsY=
 by: Ron Pinkas - Thu, 21 Dec 2023 16:01 UTC

Enrico Maria Giordano wrote:
>
>
> Il 21/12/2023 11:28, Enrico Maria Giordano ha scritto:
>
> > There are still warnings for hbhpdf:
>
> Do I have suppress them using compiler switches like -wdxxx in my build
> batch? Let me know.
>

I would not supress so we don't hide things we do need to fix. I think
we should report it, and possibly suggest a pull request with proposed
fixes.

Ron

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1nrh$14lvi$1@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 17:07:14 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <um1nrh$14lvi$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
<um13vk$11ju5$1@dont-email.me> <um1nar$14kek$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 16:07:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1202162"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jM7uDWaZaBvzJ9vlK9v4I"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:jAJ+BPvpR7FuVcd6MHz2fnmS0lc=
Content-Language: it
In-Reply-To: <um1nar$14kek$1@dont-email.me>
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 16:07 UTC

Il 21/12/2023 16:58, Ron Pinkas ha scritto:

> My answer is a mix bag :)
>
> 1. Code in contrib that is part of xHarbour (like wrappers), in separate
> sources, should always be fixed.
>
> 2. Original 3rd party sources of live projects should not be modified,
> instead it shoulld be reported to respective maintainers (like GitHub
> issue). Or, creative fixes that do not modify ooriginal sources.
>
> 3. Code borrowed from dead, unmaintained projects should be fixed.
>
> This is just my idea, I hope it makes sennse.

Yes, it makes perfect sense. Only one more question: how to recognize a
xHarbour contrib code? Is the presence of #include "hbapi.h" enough?

Please confirm.

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1nud$14lvi$2@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 17:08:46 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <um1nud$14lvi$2@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
<um13vk$11ju5$1@dont-email.me> <um141t$11ju5$2@dont-email.me>
<um1ngc$14kek$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 16:08:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1202162"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RO3rtJBtlQyvipxEA8aHn"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SBG+GmzOtAemDd0QosmCLjINABE=
In-Reply-To: <um1ngc$14kek$2@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 16:08 UTC

Il 21/12/2023 17:01, Ron Pinkas ha scritto:

>>> There are still warnings for hbhpdf:
>>
>> Do I have suppress them using compiler switches like -wdxxx in my build
>> batch? Let me know.
>
> I would not supress so we don't hide things we do need to fix. I think
> we should report it, and possibly suggest a pull request with proposed
> fixes.

Don't look at me. :-)

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1of8$14qro$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news2.arglkargh.de!news.mixmin.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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 11:17:40 -0500
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <um1of8$14qro$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me> <um175j$123si$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Thu, 21 Dec 2023 16:17:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1dc1c2455790b4d2231aea3cd8365737";
logging-data="1207160"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/38dPFBKYbkRjx6uhcVJCUpUEZcQYrAMA="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:V4RVwgSHCqPSoYrKtuyBHneXXKY=
 by: Ron Pinkas - Thu, 21 Dec 2023 16:17 UTC

Enrico Maria Giordano wrote:
>
>
> Il 20/12/2023 21:06, Ron Pinkas ha scritto:
>
> > 1. Some/Most BCC versions are not C99 compliant and thus produce error
> > on code like this:
> >
> > for (HPDF_UINT32 i = 0; i < prec; i++) {
> > fpart_val = modff(fpart_val*10.0, &int_val);
> > *s++ = (char)(int_val + 0.5) + '0';
> > }
> > C Compiler need to support declaration of variable in the loop
> > initialization.
> >
> > C99 also added modff()
> >
> > You told me that you use latest BCC and yet spoke about modff() missing
> > but this does not make sense since current standard math.h header must
> > have modff(). So we need to better review and understand BCC versions.
>
> If those are the requirements then we have no other choices than
> dropping support for bcc32.exe and forcing use of bcc32c.exe.

I do not beleive in forcing anything. :) I simply propose that we point
users to the multiple FREE compilers instead of trying to "fix" code
that is not broken, when such code is NOT ours, and its better for us
to not keep modifyinbg it when updating to newewr versions.

> But I
> don't think we have to do that. I just built xHarbour for BCC32 using
> bcc32.exe and found no errors and no warnings (using only -w-prc
> -w-use). So what's the problem?

Sure. We are not going to force anything, we can keep xHarbour code
compliant with even older compilers. It's only 3rd party code (in
conribs) that might not compile by all compilers. If we prefer to keep
using latest versions of 3rd party in contribs then we have to
understand that such code migh not support old compilers.

There is one mre choice that I much prefer:

- NOT bring 3rd part code that is available as librarries at all
User should simply install such library, and contrib will only
include the wrappers and builld script to link such libs. We already
have such appriach in place with some libs.

This is all just a balance game of comfor and preferences.

> > 2. Errors on incompatible pointers. This happens due to C++ compilation
> > and you can fix it by ssimply switching to C compilattion.
>
> Ok, I will keep it in mind for the future.

Cool.

Ron

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1p3t$14su8$2@dont-email.me>

  copy mid

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

  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: ron@ronpinkas.com (Ron Pinkas)
Newsgroups: comp.lang.xharbour
Subject: Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 11:28:44 -0500
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <um1p3t$14su8$2@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me> <um13vk$11ju5$1@dont-email.me> <um141t$11ju5$2@dont-email.me> <um1ngc$14kek$2@dont-email.me> <um1nud$14lvi$2@dont-email.me>
MIME-Version: 1.0
Injection-Date: Thu, 21 Dec 2023 16:28:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9e8acc599d70421763fd43a8f29d54a2";
logging-data="1209288"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EDw+IqsNmg7Xy/QPvFn3seRbZwWRVfi8="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:/UcyLUR0HSW1W4RyfDpvjSZkKms=
 by: Ron Pinkas - Thu, 21 Dec 2023 16:28 UTC

Enrico Maria Giordano wrote:
>
>
> Il 21/12/2023 17:01, Ron Pinkas ha scritto:
>
> > > > There are still warnings for hbhpdf:
> > >
> > > Do I have suppress them using compiler switches like -wdxxx in my build
> > > batch? Let me know.
> >
> > I would not supress so we don't hide things we do need to fix. I think
> > we should report it, and possibly suggest a pull request with proposed
> > fixes.
>
> Don't look at me. :-)
>

This is all volunteer work, so no :), but since you already made the
fixes, I think you sure can make the contribution available as a pull
request proposal. You do deserve the credit.

Ron

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1pem$14su8$3@dont-email.me>

  copy mid

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

  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: ron@ronpinkas.com (Ron Pinkas)
Newsgroups: comp.lang.xharbour
Subject: Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 11:34:29 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <um1pem$14su8$3@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me> <um13vk$11ju5$1@dont-email.me> <um1nar$14kek$1@dont-email.me> <um1nrh$14lvi$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Thu, 21 Dec 2023 16:34:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9e8acc599d70421763fd43a8f29d54a2";
logging-data="1209288"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kO1PSC1E0G8+EBOoXTHvBPhAyfF8NPLQ="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:tZTthKtRJoQjDo1vhulFxm4OxAw=
 by: Ron Pinkas - Thu, 21 Dec 2023 16:34 UTC

Enrico Maria Giordano wrote:
>
>
> Il 21/12/2023 16:58, Ron Pinkas ha scritto:
>
> > My answer is a mix bag :)
> >
> > 1. Code in contrib that is part of xHarbour (like wrappers), in separate
> > sources, should always be fixed.
> >
> > 2. Original 3rd party sources of live projects should not be modified,
> > instead it shoulld be reported to respective maintainers (like GitHub
> > issue). Or, creative fixes that do not modify ooriginal sources.
> >
> > 3. Code borrowed from dead, unmaintained projects should be fixed.
> >
> > This is just my idea, I hope it makes sennse.
>
> Yes, it makes perfect sense. Only one more question: how to recognize a
> xHarbour contrib code? Is the presence of #include "hbapi.h" enough?
>
> Please confirm.
>

Yes in general this should be true. Sadly contribs have been maintained
in a loose manner and I suspect there are some "mix" sources. So I think
if someone care enough then reading the copyright and general review of
the code should make it clear. I would try to at least not ADD such mix
code. The best choice is to keep 3rd party sources separate and
unmodified.

Ron

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1uln$15noc$1@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 19:03:36 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <um1uln$15noc$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
<um13vk$11ju5$1@dont-email.me> <um141t$11ju5$2@dont-email.me>
<um1ngc$14kek$2@dont-email.me> <um1nud$14lvi$2@dont-email.me>
<um1p3t$14su8$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 18:03:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1236748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mEMj2wbwa4MfagzWQjptl"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:BgujApXaDVC8PjC181VdK25IAmc=
Content-Language: it
In-Reply-To: <um1p3t$14su8$2@dont-email.me>
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 18:03 UTC

Il 21/12/2023 17:28, Ron Pinkas ha scritto:

>> Don't look at me. :-)
>
> This is all volunteer work, so no :), but since you already made the
> fixes, I think you sure can make the contribution available as a pull
> request proposal. You do deserve the credit.

No, thanks. I'm not interested.

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1upa$15noc$2@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 19:05:31 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <um1upa$15noc$2@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
<um13vk$11ju5$1@dont-email.me> <um1nar$14kek$1@dont-email.me>
<um1nrh$14lvi$1@dont-email.me> <um1pem$14su8$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 18:05:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1236748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YwPBIeJ1FXNU6vbVEcwgb"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:fDRzvCHpCkq97szKhbGGfaSQZPQ=
Content-Language: it
In-Reply-To: <um1pem$14su8$3@dont-email.me>
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 18:05 UTC

Il 21/12/2023 17:34, Ron Pinkas ha scritto:

>> Yes, it makes perfect sense. Only one more question: how to recognize a
>> xHarbour contrib code? Is the presence of #include "hbapi.h" enough?
>>
>> Please confirm.
>
> Yes in general this should be true. Sadly contribs have been maintained
> in a loose manner and I suspect there are some "mix" sources. So I think
> if someone care enough then reading the copyright and general review of
> the code should make it clear. I would try to at least not ADD such mix
> code. The best choice is to keep 3rd party sources separate and
> unmodified.

Ok, I will look carefully at the source code before fixing the warnings.

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um1v0r$15noc$3@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 19:09:32 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <um1v0r$15noc$3@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
<um175j$123si$1@dont-email.me> <um1of8$14qro$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 21 Dec 2023 18:09:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="e54b15f9f4946d0fa5677b895459456d";
logging-data="1236748"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FVKy/NGIj6dY0yXXG3LFm"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:cGcFfe6nqxSUfAE9VxH9wOtpxJY=
In-Reply-To: <um1of8$14qro$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Thu, 21 Dec 2023 18:09 UTC

Il 21/12/2023 17:17, Ron Pinkas ha scritto:

>> I just built xHarbour for BCC32 using
>> bcc32.exe and found no errors and no warnings (using only -w-prc
>> -w-use). So what's the problem?
>
> Sure. We are not going to force anything, we can keep xHarbour code
> compliant with even older compilers. It's only 3rd party code (in
> conribs) that might not compile by all compilers. If we prefer to keep
> using latest versions of 3rd party in contribs then we have to
> understand that such code migh not support old compilers.

I do not understand. Why I'm not getting any errors building current
repository with BCC32? What am I missing? Is the modff() problem
vanished into thin air?

--
Enrico Maria Giordano

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

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um2dje$183bp$1@dont-email.me>

  copy mid

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

  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: ron@ronpinkas.com (Ron Pinkas)
Newsgroups: comp.lang.xharbour
Subject: Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
Date: Thu, 21 Dec 2023 17:18:22 -0500
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <um2dje$183bp$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me> <um175j$123si$1@dont-email.me> <um1of8$14qro$1@dont-email.me> <um1v0r$15noc$3@dont-email.me>
MIME-Version: 1.0
Injection-Date: Thu, 21 Dec 2023 22:18:22 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0117ad4514eaaf552ac93de3346a57b7";
logging-data="1314169"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HWamON7bV/Ks+nSq8EaE4fXm29qwnB7U="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:uMYW6Bk22tLZLtsAo1jiphILQyA=
 by: Ron Pinkas - Thu, 21 Dec 2023 22:18 UTC

Enrico Maria Giordano wrote:
>
>
> Il 21/12/2023 17:17, Ron Pinkas ha scritto:
>
> > > I just built xHarbour for BCC32 using
> > > bcc32.exe and found no errors and no warnings (using only -w-prc
> > > -w-use). So what's the problem?
> >
> > Sure. We are not going to force anything, we can keep xHarbour code
> > compliant with even older compilers. It's only 3rd party code (in
> > conribs) that might not compile by all compilers. If we prefer to keep
> > using latest versions of 3rd party in contribs then we have to
> > understand that such code migh not support old compilers.
>
> I do not understand. Why I'm not getting any errors building current
> repository with BCC32? What am I missing? Is the modff() problem
> vanished into thin air?
>

I beleieve its because I made change to common.mak using a compile
command CC_CMD_HARU that was not yet implemented in makefile.bc so
it may have not compiled it at all. I just fixed to use CCC_CMD which
is defined in all compilers make files, and I am now testting.

Ron

Re: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

<um3uek$1i7q4$1@dont-email.me>

  copy mid

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

  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: ChangeLog: 2023-12-20 14:22 UTC-0500 Ron Pinkas
<ronpinkas/AT/gmail/com>
Date: Fri, 22 Dec 2023 13:12:06 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <um3uek$1i7q4$1@dont-email.me>
References: <ulvg7b$mgm3$1@dont-email.me> <ulvhft$mnj2$1@dont-email.me>
<um175j$123si$1@dont-email.me> <um1of8$14qro$1@dont-email.me>
<um1v0r$15noc$3@dont-email.me> <um2dje$183bp$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Dec 2023 12:12:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a6b5d43ea67715efe4f9af6e6f5d6ed6";
logging-data="1646404"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Zzjy/1DRcgpG5onWBxq4X"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:YeZyCSo6vfsoKkVXPxTxKNMOQ1o=
Content-Language: it
In-Reply-To: <um2dje$183bp$1@dont-email.me>
 by: Enrico Maria Giordan - Fri, 22 Dec 2023 12:12 UTC

Il 21/12/2023 23:18, Ron Pinkas ha scritto:

>> I do not understand. Why I'm not getting any errors building current
>> repository with BCC32? What am I missing? Is the modff() problem
>> vanished into thin air?
>
> I beleieve its because I made change to common.mak using a compile
> command CC_CMD_HARU that was not yet implemented in makefile.bc so
> it may have not compiled it at all. I just fixed to use CCC_CMD which
> is defined in all compilers make files, and I am now testting.

Ah, ok.

--
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