Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

COBOL is for morons. -- E. W. Dijkstra


devel / comp.lang.xharbour / 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

SubjectAuthor
* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
`* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 +* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |`* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 | `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |  `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |   `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
 |    `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |     `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |      `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
 |       `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |        +* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |        |`* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
 |        | `- 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |        `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
 |         `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 |          `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
 |           `- 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
 `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
  +* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
  |`* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
  | `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
  |  `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
  |   `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
  |    `- 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
  `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
   +- 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
   `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
    +- 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
    `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
     `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
      `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
       `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
        `* 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano
         `* 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>Ron Pinkas
          `- 2023-12-23 10:56 UTC+0100 Enrico Maria GiordanoEnrico Maria Giordano

Pages:12
2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um6b2c$212jm$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3130&group=comp.lang.xharbour#3130

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 10:59:41 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <um6b2c$212jm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 09:59:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2132598"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188vjGbrsZFDHhfEDP0VL2y"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xxqmUZ8XbhcxDfgre3IR7YCJphM=
Content-Language: it
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 09:59 UTC

2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
* contrib\hbhpdf\hpdf_shading.c
! moved declaration to allow compilation with BCC32 non-CLANG

2023-12-23 10:46 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
* contrib\hbhpdf\hpdf_utils.c
! removed inline declaration to allow compilation with BCC32 non-CLANG

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um6qnr$23g9r$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3133&group=comp.lang.xharbour#3133

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 15:27:08 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <um6qnr$23g9r$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 23 Dec 2023 14:27:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2212155"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1962uMnar0dOZEuRXalv76v"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:os6eBa3cdohx6I+/wMxx9iW/P+0=
Content-Language: it
In-Reply-To: <um6b2c$212jm$1@dont-email.me>
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 14:27 UTC

Il 23/12/2023 10:59, Enrico Maria Giordano ha scritto:

> 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
> <e.m.giordano@emagsoftware.it>
>   * contrib\hbhpdf\hpdf_shading.c
>     ! moved declaration to allow compilation with BCC32 non-CLANG
>
> 2023-12-23 10:46 UTC+0100 Enrico Maria Giordano
> <e.m.giordano@emagsoftware.it>
>   * contrib\hbhpdf\hpdf_utils.c
>     ! removed inline declaration to allow compilation with BCC32 non-CLANG

Ok, now I get this with MSC32:

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

What can I do to fix these warnings without touching the code?...

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um6qtd$23g9r$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3134&group=comp.lang.xharbour#3134

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!paganini.bofh.team!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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 15:30:07 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <um6qtd$23g9r$2@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 14:30:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2212155"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197oAetcIFUA5Ut1v2VV35d"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xCKvjSjTd5sytIxbZVHuvtN6ZeA=
Content-Language: it
In-Reply-To: <um6qnr$23g9r$1@dont-email.me>
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 14:30 UTC

Il 23/12/2023 15:27, Enrico Maria Giordano ha scritto:

> Ok, now I get this with MSC32:
>
> contrib\hbhpdf\hpdf_utils.c(223): warning C4244: 'function': conversion
> from 'double' to 'float', possible loss of data
> contrib\hbhpdf\hpdf_utils.c(238): warning C4244: 'function': conversion
> from 'double' to 'float', possible loss of data
>
> What can I do to fix these warnings without touching the code?...

This is the line 223:

dig = modff(int_val/10.0, &int_val);

The first argument (int_val/10.0) is of double type while modff() wants
a float.

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um71a4$24g97$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3137&group=comp.lang.xharbour#3137

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 11:19:16 -0500
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <um71a4$24g97$2@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 23 Dec 2023 16:19:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7998f5af8c6f367b94b6bde87e54ca3c";
logging-data="2244903"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+n/wS4xL0G/EunNNwlMuoB0Rc1Iaqvdvo="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:yyM14WI1tIu/NWrz2+a0nJQI4xc=
 by: Ron Pinkas - Sat, 23 Dec 2023 16:19 UTC

Enrico Maria Giordano wrote:
> Il 23/12/2023 10:59, Enrico Maria Giordano ha scritto:
>
> > 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
> > <e.m.giordano@emagsoftware.it>
> >   * contrib\hbhpdf\hpdf_shading.c
> >     ! moved declaration to allow compilation with BCC32 non-CLANG
> >
> > 2023-12-23 10:46 UTC+0100 Enrico Maria Giordano
> > <e.m.giordano@emagsoftware.it>
> >   * contrib\hbhpdf\hpdf_utils.c
> >     ! removed inline declaration to allow compilation with BCC32 non-CLANG
>
> Ok, now I get this with MSC32:
>
> contrib\hbhpdf\hpdf_utils.c(223): warning C4244: 'function': conversion
> from 'double' to 'float', possible loss of data
> contrib\hbhpdf\hpdf_utils.c(238): warning C4244: 'function': conversion
> from 'double' to 'float', possible loss of data
>
> What can I do to fix these warnings without touching the code?...
>

You can possibly disable warnings for hbhpdf (look at CCC_CMD) or better
add CCC_CMD_NO_WARNINGS (in such case it will have to be added to
makefile.(all other compilers).

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um77rq$25kqe$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3139&group=comp.lang.xharbour#3139

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 19:11:08 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <um77rq$25kqe$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 18:11:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2282318"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181n11JNxB5uZ7LjF+vyaHs"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:WzWeUPaX0HC8CRqks+uBJo1eXP0=
Content-Language: it
In-Reply-To: <um71a4$24g97$2@dont-email.me>
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 18:11 UTC

Il 23/12/2023 17:19, Ron Pinkas ha scritto:

>> Ok, now I get this with MSC32:
>>
>> contrib\hbhpdf\hpdf_utils.c(223): warning C4244: 'function': conversion
>> from 'double' to 'float', possible loss of data
>> contrib\hbhpdf\hpdf_utils.c(238): warning C4244: 'function': conversion
>> from 'double' to 'float', possible loss of data
>>
>> What can I do to fix these warnings without touching the code?...
>
> You can possibly disable warnings for hbhpdf (look at CCC_CMD) or better
> add CCC_CMD_NO_WARNINGS (in such case it will have to be added to
> makefile.(all other compilers).

I would prefer to exclude warning C4244 only for hpdf_utils.c. Is it
possible?

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um77t1$25kqe$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3140&group=comp.lang.xharbour#3140

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 19:11:47 +0100
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <um77t1$25kqe$2@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me> <um77rq$25kqe$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 18:11:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2282318"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1894dDYiGAju1a0tPl64dDt"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:jyF0WUGfinUdagOELFuT5ObWDFg=
Content-Language: it
In-Reply-To: <um77rq$25kqe$1@dont-email.me>
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 18:11 UTC

Il 23/12/2023 19:11, Enrico Maria Giordano ha scritto:

> I would prefer to exclude warning C4244 only for hpdf_utils.c. Is it
> possible?

And only for MSC.

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um787l$25s6s$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3142&group=comp.lang.xharbour#3142

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 19:17:27 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <um787l$25s6s$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um6qtd$23g9r$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 18:17:25 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2289884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19oWgSzdCDYwTPoYglFnz3x"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DaKTb4xAlvtco4sBLwnl094E0oA=
In-Reply-To: <um6qtd$23g9r$2@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 18:17 UTC

Il 23/12/2023 15:30, Enrico Maria Giordano ha scritto:

>> Ok, now I get this with MSC32:
>>
>> contrib\hbhpdf\hpdf_utils.c(223): warning C4244: 'function':
>> conversion from 'double' to 'float', possible loss of data
>> contrib\hbhpdf\hpdf_utils.c(238): warning C4244: 'function':
>> conversion from 'double' to 'float', possible loss of data
>>
>> What can I do to fix these warnings without touching the code?...
>
> This is the line 223:
>
> dig = modff(int_val/10.0, &int_val);
>
> The first argument (int_val/10.0) is of double type while modff() wants
> a float.

For the moment I will fix the warnings, please don't yell 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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um78r8$25vgr$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3143&group=comp.lang.xharbour#3143

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 19:27:52 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <um78r8$25vgr$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 18:27:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2293275"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18B/f+LdJU/0gitguS17Yxn"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:5IqOg+W3vaDC0A/a7FEXhj5kxLk=
Content-Language: it
In-Reply-To: <um787l$25s6s$1@dont-email.me>
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 18:27 UTC

Il 23/12/2023 19:17, Enrico Maria Giordano ha scritto:

>> The first argument (int_val/10.0) is of double type while modff()
>> wants a float.
>
> For the moment I will fix the warnings, please don't yell at me. :-)

I changed my mind. Too much warnings in other modules of harupdf. I have
to disable the warnings only for harupdf. Can it be done? How exactly?

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um79jg$25vgr$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3144&group=comp.lang.xharbour#3144

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 19:40:48 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <um79jg$25vgr$2@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 18:40:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2293275"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gNmafw0WRhsOttGaV7q2C"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:WdYMBxLcc1goUuiQFMbV7bT2YjI=
Content-Language: it
In-Reply-To: <um71a4$24g97$2@dont-email.me>
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 18:40 UTC

Il 23/12/2023 17:19, Ron Pinkas ha scritto:

>> What can I do to fix these warnings without touching the code?...
>
> You can possibly disable warnings for hbhpdf (look at CCC_CMD) or better
> add CCC_CMD_NO_WARNINGS (in such case it will have to be added to
> makefile.(all other compilers).

CCC_CMD is for all the modules, not for a single module, isn't it? I did
not understand your second suggestion (CCC_CMD_NO_WARNINGS), sorry.

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um79ng$25vgr$3@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3145&group=comp.lang.xharbour#3145

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 19:42:56 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <um79ng$25vgr$3@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me> <um79jg$25vgr$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 18:42:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="030ef378ff3c28accebbbda6b37da230";
logging-data="2293275"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UvxqP5Pppk970Q+4cEd6p"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:81Dt0ohpC/riNenJd9Q8Z4HYEm4=
In-Reply-To: <um79jg$25vgr$2@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 18:42 UTC

Il 23/12/2023 19:40, Enrico Maria Giordano ha scritto:

> CCC_CMD is for all the modules, not for a single module, isn't it? I did
> not understand your second suggestion (CCC_CMD_NO_WARNINGS), sorry.

It seems (from the changelog) that Andi Jaha was my predecessor in
fixing warnings. He always fixed contribs too. :-)

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um7om4$28csb$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3150&group=comp.lang.xharbour#3150

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 23:58:13 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <um7om4$28csb$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me>
<um78r8$25vgr$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 23 Dec 2023 22:58:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f59cdb2443a3a7fdc84dd235e9c341ea";
logging-data="2372491"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GSlpMcMW48cBxHjPhJo+Z"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:rvV4VY3I0Bhe9uyOzpOowjKiOQk=
In-Reply-To: <um78r8$25vgr$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sat, 23 Dec 2023 22:58 UTC

Il 23/12/2023 19:27, Enrico Maria Giordano ha scritto:

>>> The first argument (int_val/10.0) is of double type while modff()
>>> wants a float.
>>
>> For the moment I will fix the warnings, please don't yell at me. :-)
>
> I changed my mind. Too much warnings in other modules of harupdf. I have
> to disable the warnings only for harupdf. Can it be done? How exactly?

Unfortunately I can't see any way other than fixing the warnings in
contrib code. Tomorrow I will start doing it again.

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um80l8$29i3p$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3222&group=comp.lang.xharbour#3222

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 20:14:11 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <um80l8$29i3p$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me> <um71a4$24g97$2@dont-email.me> <um79jg$25vgr$2@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 24 Dec 2023 01:14:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a15de4fb51c650a4229d3d8816b688ab";
logging-data="2410617"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18CvMrC9uPTkPmZ/rw725/yhaUL1Mxmrd4="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:DuvGqe5Caj1ShpCsl4mU+FfdEDc=
 by: Ron Pinkas - Sun, 24 Dec 2023 01:14 UTC

Enrico Maria Giordano wrote:
>
>
> Il 23/12/2023 17:19, Ron Pinkas ha scritto:
>
> > > What can I do to fix these warnings without touching the code?...
> >
> > You can possibly disable warnings for hbhpdf (look at CCC_CMD) or better
> > add CCC_CMD_NO_WARNINGS (in such case it will have to be added to
> > makefile.(all other compilers).
>
> CCC_CMD is for all the modules, not for a single module, isn't it? I did
> not understand your second suggestion (CCC_CMD_NO_WARNINGS), sorry.
>

Enrico,

In compile.mak you can find the list of all modules for each lib. Look
at lines 6107 to 6285 for the hbhpdf.lib and harupdf.lib. They are
currently compiled with macro CCC_CMD you can change ALL of these to
CCC_CMD_NOWARNING which is a NEW MACRO. Therefore you then need to
define the new macro for each compiler in the makefile.vc, makefile.bc,
etc. as a COPY from CCC_CMD plus additional swittch (or remove switch)
to disable warnings.

If you need more info send me an email so I can forward my WhatsApp
number.

This should be a simpler approach for compiling 3rd party code tthat has
warnings that you do nott wish to see.
Ron

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um80qd$29i3p$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3223&group=comp.lang.xharbour#3223

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!paganini.bofh.team!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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
Date: Sat, 23 Dec 2023 20:17:01 -0500
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <um80qd$29i3p$2@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me> <um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me> <um78r8$25vgr$1@dont-email.me> <um7om4$28csb$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 24 Dec 2023 01:17:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a15de4fb51c650a4229d3d8816b688ab";
logging-data="2410617"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Sa6Kaf0X5fj7XTxBFS5XwVEu+dQptrC4="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:9f76KGkqpTrHMxrueVNFiWLaBz8=
 by: Ron Pinkas - Sun, 24 Dec 2023 01:17 UTC

Enrico Maria Giordano wrote:
>
>
> Il 23/12/2023 19:27, Enrico Maria Giordano ha scritto:
>
> > > > The first argument (int_val/10.0) is of double type while modff() wants
> > > > a float.
> > >
> > > For the moment I will fix the warnings, please don't yell at me. :-)
> >
> > I changed my mind. Too much warnings in other modules of harupdf. I have
> > to disable the warnings only for harupdf. Can it be done? How exactly?
>
> Unfortunately I can't see any way other than fixing the warnings in
> contrib code. Tomorrow I will start doing it again.
>

Why? Warnings are not a show stopper, and can be ignored or silenced.

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um8stg$2ghn6$4@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3229&group=comp.lang.xharbour#3229

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 10:16:33 +0100
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <um8stg$2ghn6$4@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me> <um79jg$25vgr$2@dont-email.me>
<um80l8$29i3p$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 09:16:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c0896a8cdae69b209d5d847b71b7eba4";
logging-data="2639590"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hJooSijlscGwhTl6mUjzp"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TEa2euEd4jCccZsJvMzVaAWdrSo=
In-Reply-To: <um80l8$29i3p$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 09:16 UTC

Il 24/12/2023 02:14, Ron Pinkas ha scritto:

>> CCC_CMD is for all the modules, not for a single module, isn't it? I did
>> not understand your second suggestion (CCC_CMD_NO_WARNINGS), sorry.
>
> Enrico,
>
> In compile.mak you can find the list of all modules for each lib. Look
> at lines 6107 to 6285 for the hbhpdf.lib and harupdf.lib. They are
> currently compiled with macro CCC_CMD you can change ALL of these to
> CCC_CMD_NOWARNING which is a NEW MACRO. Therefore you then need to
> define the new macro for each compiler in the makefile.vc, makefile.bc,
> etc. as a COPY from CCC_CMD plus additional swittch (or remove switch)
> to disable warnings.

Ok, I will study it, thank you!

> If you need more info send me an email so I can forward my WhatsApp
> number.

Sorry, I don't have Whatsapp (I don't have a smartphone, two smartphones
in a family are enough for me).

> This should be a simpler approach for compiling 3rd party code tthat has
> warnings that you do nott wish to see.

Ok.

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um8t2g$2ghn6$5@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3230&group=comp.lang.xharbour#3230

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 10:19:13 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <um8t2g$2ghn6$5@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me>
<um78r8$25vgr$1@dont-email.me> <um7om4$28csb$1@dont-email.me>
<um80qd$29i3p$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 09:19:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c0896a8cdae69b209d5d847b71b7eba4";
logging-data="2639590"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MwDN1A3HYe04ScZCG0x/5"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:9fKnzy3JVdmAvX4eXE7rMfiGRrc=
In-Reply-To: <um80qd$29i3p$2@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 09:19 UTC

Il 24/12/2023 02:17, Ron Pinkas ha scritto:

>> Unfortunately I can't see any way other than fixing the warnings in
>> contrib code. Tomorrow I will start doing it again.
>
> Why? Warnings are not a show stopper, and can be ignored or silenced.

Yes, but then what is the purpose of showing warnings if not to be
fixed? I don't understand. Anyway, ok, I received the message loud and
clear: I quit to fix warnings, I will just try to silence them.

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um8t7c$2gu8n$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3231&group=comp.lang.xharbour#3231

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 10:21:48 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <um8t7c$2gu8n$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me>
<um78r8$25vgr$1@dont-email.me> <um7om4$28csb$1@dont-email.me>
<um80qd$29i3p$2@dont-email.me> <um8t2g$2ghn6$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 09:21:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c0896a8cdae69b209d5d847b71b7eba4";
logging-data="2652439"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8QGZRLe3aoYAh9leMBXVU"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kXN1Du0CLDFKVhUGUyrMksSwJW0=
In-Reply-To: <um8t2g$2ghn6$5@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 09:21 UTC

Il 24/12/2023 10:19, Enrico Maria Giordano ha scritto:

> Yes, but then what is the purpose of showing warnings if not to be
> fixed? I don't understand. Anyway, ok, I received the message loud and
> clear: I quit to fix warnings, I will just try to silence them.

But I will continue to fix the warnings in core xHarbour code, ok?

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um910p$2h6bn$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3233&group=comp.lang.xharbour#3233

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 11:26:34 +0100
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <um910p$2h6bn$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me> <um79jg$25vgr$2@dont-email.me>
<um80l8$29i3p$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 10:26:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c0896a8cdae69b209d5d847b71b7eba4";
logging-data="2660727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+wrkXRfqBLSk5Axg4/wTx"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:qxCcW6U3Pl1ep+BgJ9wp8ce/CeM=
Content-Language: it
In-Reply-To: <um80l8$29i3p$1@dont-email.me>
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 10:26 UTC

Il 24/12/2023 02:14, Ron Pinkas ha scritto:

> In compile.mak you can find the list of all modules for each lib. Look
> at lines 6107 to 6285 for the hbhpdf.lib and harupdf.lib. They are
> currently compiled with macro CCC_CMD you can change ALL of these to
> CCC_CMD_NOWARNING which is a NEW MACRO. Therefore you then need to
> define the new macro for each compiler in the makefile.vc, makefile.bc,
> etc. as a COPY from CCC_CMD plus additional swittch (or remove switch)
> to disable warnings.

Ok, I added two new macros

CC_CMD_NOWARN
CCC_CMD_NOWARN

and silenced some MSC warnings. Now I get these errors:

contrib\hbhpdf\hpdf_encoder.c(2225): error C2440: '=': cannot convert
from 'void *' to 'HPDF_Encoder'
contrib\hbhpdf\hpdf_encoder.c(2225): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2242): error C2440: '=': cannot convert
from 'void *' to 'HPDF_BasicEncoderAttr'
contrib\hbhpdf\hpdf_encoder.c(2242): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2534): error C2440: '=': cannot convert
from 'void *' to 'HPDF_Encoder'
contrib\hbhpdf\hpdf_encoder.c(2534): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2567): error C2440: '=': cannot convert
from 'void *' to 'HPDF_CMapEncoderAttr'
contrib\hbhpdf\hpdf_encoder.c(2567): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2642): error C2440: '=': cannot convert
from 'void *' to 'HPDF_CidRange_Rec *'
contrib\hbhpdf\hpdf_encoder.c(2642): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2652): error C2440: '=': cannot convert
from 'void *' to 'HPDF_CidRange_Rec *'
contrib\hbhpdf\hpdf_encoder.c(2652): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2662): error C2440: '=': cannot convert
from 'void *' to 'HPDF_CidRange_Rec *'
contrib\hbhpdf\hpdf_encoder.c(2662): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2775): error C2440: '=': cannot convert
from 'void *' to 'HPDF_CidRange_Rec *'
contrib\hbhpdf\hpdf_encoder.c(2775): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast
contrib\hbhpdf\hpdf_encoder.c(2803): error C2440: '=': cannot convert
from 'void *' to 'HPDF_CidRange_Rec *'
contrib\hbhpdf\hpdf_encoder.c(2803): note: Conversion from 'void*' to
pointer to non-'void' requires an explicit cast

They can be fixed compiling in C mode. But I'm not sure how to force C
mode for a single module. Do I have to create one more macro like

CCC_CMD_HBHPDF =$(CC) -wd4244 $(CLIBFLAGS) -Fo$@ $**

? 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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9ig4$2k3pm$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3234&group=comp.lang.xharbour#3234

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 10:24:51 -0500
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <um9ig4$2k3pm$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me> <um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me> <um78r8$25vgr$1@dont-email.me> <um7om4$28csb$1@dont-email.me> <um80qd$29i3p$2@dont-email.me> <um8t2g$2ghn6$5@dont-email.me> <um8t7c$2gu8n$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 24 Dec 2023 15:24:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="daacb768512b8ac26b095e62fd3ae8cd";
logging-data="2756406"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AcR4+5bYcRKaUY++0D5XGQb29UMfe788="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:Opg35+rKPRSCJnujG0lUOChx5zY=
 by: Ron Pinkas - Sun, 24 Dec 2023 15:24 UTC

Enrico Maria Giordano wrote:
>
>
> Il 24/12/2023 10:19, Enrico Maria Giordano ha scritto:
>
> > Yes, but then what is the purpose of showing warnings if not to be
> > fixed? I don't understand. Anyway, ok, I received the message loud and
> > clear: I quit to fix warnings, I will just try to silence them.
>
> But I will continue to fix the warnings in core xHarbour code, ok?
>

Of course I also want to fix all warnings and hat to see them. The only
reason I warned you against fixing is specifically 3rd party code of
LIVE projects.

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9iub$2k7dt$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3235&group=comp.lang.xharbour#3235

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 10:32:22 -0500
Organization: A noiseless patient Spider
Lines: 71
Message-ID: <um9iub$2k7dt$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me> <um71a4$24g97$2@dont-email.me> <um79jg$25vgr$2@dont-email.me> <um80l8$29i3p$1@dont-email.me> <um910p$2h6bn$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 24 Dec 2023 15:32:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a15de4fb51c650a4229d3d8816b688ab";
logging-data="2760125"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/bkKYFwH9vys5xheI1d6fZe5Z/d8+4sc="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:1B48JwsnkTlrrZtGrZI8FuisNcw=
 by: Ron Pinkas - Sun, 24 Dec 2023 15:32 UTC

Enrico Maria Giordano wrote:
>
>
> Il 24/12/2023 02:14, Ron Pinkas ha scritto:
>
> > In compile.mak you can find the list of all modules for each lib. Look
> > at lines 6107 to 6285 for the hbhpdf.lib and harupdf.lib. They are
> > currently compiled with macro CCC_CMD you can change ALL of these to
> > CCC_CMD_NOWARNING which is a NEW MACRO. Therefore you then need to
> > define the new macro for each compiler in the makefile.vc, makefile.bc,
> > etc. as a COPY from CCC_CMD plus additional swittch (or remove switch)
> > to disable warnings.
>
> Ok, I added two new macros
>
> CC_CMD_NOWARN
> CCC_CMD_NOWARN
>
> and silenced some MSC warnings. Now I get these errors:
>
> contrib\hbhpdf\hpdf_encoder.c(2225): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_Encoder'
> contrib\hbhpdf\hpdf_encoder.c(2225): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2242): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_BasicEncoderAttr'
> contrib\hbhpdf\hpdf_encoder.c(2242): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2534): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_Encoder'
> contrib\hbhpdf\hpdf_encoder.c(2534): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2567): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_CMapEncoderAttr'
> contrib\hbhpdf\hpdf_encoder.c(2567): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2642): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_CidRange_Rec *'
> contrib\hbhpdf\hpdf_encoder.c(2642): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2652): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_CidRange_Rec *'
> contrib\hbhpdf\hpdf_encoder.c(2652): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2662): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_CidRange_Rec *'
> contrib\hbhpdf\hpdf_encoder.c(2662): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2775): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_CidRange_Rec *'
> contrib\hbhpdf\hpdf_encoder.c(2775): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
> contrib\hbhpdf\hpdf_encoder.c(2803): error C2440: '=': cannot convert
> from 'void *' to 'HPDF_CidRange_Rec *'
> contrib\hbhpdf\hpdf_encoder.c(2803): note: Conversion from 'void*' to
> pointer to non-'void' requires an explicit cast
>
> They can be fixed compiling in C mode. But I'm not sure how to force C
> mode for a single module. Do I have to create one more macro like
>
> CCC_CMD_HBHPDF =$(CC) -wd4244 $(CLIBFLAGS) -Fo$@ $**
>
> ? Please confirm.
>

Sorry I don't understand, The whole of hbhpd.libf (and harupdf.lib) is
already compiling with MSVC in C mode, withOUT errors.

If your CCC_CMD_NOWARN is based on CCC_CMD (which compiles withOUT error)
just adding some warning silencing to it should compile without errors
too.

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9je7$2k938$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3236&group=comp.lang.xharbour#3236

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!usenet.network!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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 16:40:56 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <um9je7$2k938$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me>
<um78r8$25vgr$1@dont-email.me> <um7om4$28csb$1@dont-email.me>
<um80qd$29i3p$2@dont-email.me> <um8t2g$2ghn6$5@dont-email.me>
<um8t7c$2gu8n$1@dont-email.me> <um9ig4$2k3pm$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 15:40:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="72b7d065075ee51f442e8f84555f6439";
logging-data="2761832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191dsHYpaNtQ4cqbHebjjGH"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:EXwxLR1VsnSmCIVxs83Jdzqr3R8=
Content-Language: it
In-Reply-To: <um9ig4$2k3pm$1@dont-email.me>
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 15:40 UTC

Il 24/12/2023 16:24, Ron Pinkas ha scritto:

>> But I will continue to fix the warnings in core xHarbour code, ok?
>
> Of course I also want to fix all warnings and hat to see them. The only
> reason I warned you against fixing is specifically 3rd party code of
> LIVE projects.

Is there an easy way to find older (ie. not LIVE) 3rd party code? As an
example, what do you think of this?

contrib\hbmzip\unzip.c(1053): warning C4456: declaration of 'uL' hides
previous local declaration

Can I fix it or is still a LIVE code?

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9jig$2k938$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3238&group=comp.lang.xharbour#3238

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 16:43:13 +0100
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <um9jig$2k938$2@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me> <um79jg$25vgr$2@dont-email.me>
<um80l8$29i3p$1@dont-email.me> <um910p$2h6bn$1@dont-email.me>
<um9iub$2k7dt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 15:43:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="72b7d065075ee51f442e8f84555f6439";
logging-data="2761832"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PApWWr1kbCrh9sCv6YzmS"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:sLDi5iGLm077m9FUVtnyaD0/5tc=
Content-Language: it
In-Reply-To: <um9iub$2k7dt$1@dont-email.me>
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 15:43 UTC

Il 24/12/2023 16:32, Ron Pinkas ha scritto:

>> Now I get these errors:
>>
>> contrib\hbhpdf\hpdf_encoder.c(2225): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_Encoder'
>> contrib\hbhpdf\hpdf_encoder.c(2225): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2242): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_BasicEncoderAttr'
>> contrib\hbhpdf\hpdf_encoder.c(2242): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2534): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_Encoder'
>> contrib\hbhpdf\hpdf_encoder.c(2534): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2567): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_CMapEncoderAttr'
>> contrib\hbhpdf\hpdf_encoder.c(2567): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2642): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_CidRange_Rec *'
>> contrib\hbhpdf\hpdf_encoder.c(2642): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2652): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_CidRange_Rec *'
>> contrib\hbhpdf\hpdf_encoder.c(2652): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2662): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_CidRange_Rec *'
>> contrib\hbhpdf\hpdf_encoder.c(2662): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2775): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_CidRange_Rec *'
>> contrib\hbhpdf\hpdf_encoder.c(2775): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>> contrib\hbhpdf\hpdf_encoder.c(2803): error C2440: '=': cannot convert
>> from 'void *' to 'HPDF_CidRange_Rec *'
>> contrib\hbhpdf\hpdf_encoder.c(2803): note: Conversion from 'void*' to
>> pointer to non-'void' requires an explicit cast
>>
>> They can be fixed compiling in C mode. But I'm not sure how to force C
>> mode for a single module. Do I have to create one more macro like
>>
>> CCC_CMD_HBHPDF =$(CC) -wd4244 $(CLIBFLAGS) -Fo$@ $**
>>
>> ? Please confirm.
>
> Sorry I don't understand, The whole of hbhpd.libf (and harupdf.lib) is
> already compiling with MSVC in C mode, withOUT errors.

So why I get the errors above using MSC32?

--
Enrico Maria Giordano

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

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9k64$2k7dt$3@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3240&group=comp.lang.xharbour#3240

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 10:53:40 -0500
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <um9k64$2k7dt$3@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me> <um71a4$24g97$2@dont-email.me> <um77rq$25kqe$1@dont-email.me> <um77t1$25kqe$2@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 24 Dec 2023 15:53:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a15de4fb51c650a4229d3d8816b688ab";
logging-data="2760125"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XfKzeWcXeSYi+mlT3W43XIE55ADuYFXE="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:Vy8L4teCzc2KRbnxAf+fY9s6Z14=
 by: Ron Pinkas - Sun, 24 Dec 2023 15:53 UTC

Enrico Maria Giordano wrote:
>
>
> Il 23/12/2023 19:11, Enrico Maria Giordano ha scritto:
>
> > I would prefer to exclude warning C4244 only for hpdf_utils.c. Is it
> > possible?
>
> And only for MSC.
>

Yes. You can modify the MACRO used for just this source from CCC_CMD to
new CCC_CMD_NOWARN (assuming CCC_CMD_NOWARN is copy of CCC_CMD with
disable warning)

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9kc7$2keqc$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3241&group=comp.lang.xharbour#3241

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 16:56:56 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <um9kc7$2keqc$1@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me>
<um78r8$25vgr$1@dont-email.me> <um7om4$28csb$1@dont-email.me>
<um80qd$29i3p$2@dont-email.me> <um8t2g$2ghn6$5@dont-email.me>
<um8t7c$2gu8n$1@dont-email.me> <um9ig4$2k3pm$1@dont-email.me>
<um9je7$2k938$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 15:56:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="72b7d065075ee51f442e8f84555f6439";
logging-data="2767692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+w7Rr1E75L1fo0SXTIdTTm"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:GDNiT8gX1ZKOjomxS0tRMvwd0nU=
In-Reply-To: <um9je7$2k938$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 15:56 UTC

Il 24/12/2023 16:40, Enrico Maria Giordano ha scritto:

> Is there an easy way to find older (ie. not LIVE) 3rd party code? As an
> example, what do you think of this?
>
> contrib\hbmzip\unzip.c(1053): warning C4456: declaration of 'uL' hides
> previous local declaration
>
> Can I fix it or is still a LIVE code?

It looks like a LIVE code:

https://github.com/madler/zlib/blob/master/contrib/minizip/unzip.c

So, do I have to create a new macro CCC_CMD_MZIP and add -wd4456 to it?
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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9kgs$2k7dt$4@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3242&group=comp.lang.xharbour#3242

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 10:59:23 -0500
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <um9kgs$2k7dt$4@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me> <um6qtd$23g9r$2@dont-email.me> <um787l$25s6s$1@dont-email.me> <um78r8$25vgr$1@dont-email.me> <um7om4$28csb$1@dont-email.me> <um80qd$29i3p$2@dont-email.me> <um8t2g$2ghn6$5@dont-email.me> <um8t7c$2gu8n$1@dont-email.me> <um9ig4$2k3pm$1@dont-email.me> <um9je7$2k938$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 24 Dec 2023 15:59:24 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a15de4fb51c650a4229d3d8816b688ab";
logging-data="2760125"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Gsqt2DGlbZyojtvyWOXBAvAtz+o9mTj8="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:/W7AYI7VF0PxVbgaPdxzU5V+/Bg=
 by: Ron Pinkas - Sun, 24 Dec 2023 15:59 UTC

Enrico Maria Giordano wrote:
>
>
> Il 24/12/2023 16:24, Ron Pinkas ha scritto:
>
> > > But I will continue to fix the warnings in core xHarbour code, ok?
> >
> > Of course I also want to fix all warnings and hat to see them. The only
> > reason I warned you against fixing is specifically 3rd party code of
> > LIVE projects.
>
> Is there an easy way to find older (ie. not LIVE) 3rd party code? As an
> example, what do you think of this?
>
> contrib\hbmzip\unzip.c(1053): warning C4456: declaration of 'uL' hides
> previous local declaration
>
> Can I fix it or is still a LIVE code?
>

Enrico,

In the copyright notice of that source its clear its a 3rd pary code and
it has this link:

http://www.winimage.com/zLibDll/minizip.html

It seems to be a live conttrib of zlib:

https://github.com/madler/zlib/tree/master/contrib/minizip

Ron

Re: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano <e.m.giordano@emagsoftware.it>

<um9kk3$2keqc$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=3243&group=comp.lang.xharbour#3243

  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: 2023-12-23 10:56 UTC+0100 Enrico Maria Giordano
<e.m.giordano@emagsoftware.it>
Date: Sun, 24 Dec 2023 17:01:08 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <um9kk3$2keqc$2@dont-email.me>
References: <um6b2c$212jm$1@dont-email.me> <um6qnr$23g9r$1@dont-email.me>
<um71a4$24g97$2@dont-email.me> <um77rq$25kqe$1@dont-email.me>
<um77t1$25kqe$2@dont-email.me> <um9k64$2k7dt$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 24 Dec 2023 16:01:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="72b7d065075ee51f442e8f84555f6439";
logging-data="2767692"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tMsG+P/pjrzOthZUmBK9Y"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SLDMIXkOV0gRIp4F6FYgdxHY0M4=
In-Reply-To: <um9k64$2k7dt$3@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Sun, 24 Dec 2023 16:01 UTC

Il 24/12/2023 16:53, Ron Pinkas ha scritto:

>>> I would prefer to exclude warning C4244 only for hpdf_utils.c. Is it
>>> possible?
>>
>> And only for MSC.
>
> Yes. You can modify the MACRO used for just this source from CCC_CMD to
> new CCC_CMD_NOWARN (assuming CCC_CMD_NOWARN is copy of CCC_CMD with
> disable warning)

But it would be a generic macro. Should I create one for each compiler?
Otherwise the added switches would have used by all the compilers! Or am
I wrong?

--
Enrico Maria Giordano

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

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor