Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

<james> abuse me. I'm so lame I sent a bug report to debian-devel-changes -- Seen on #Debian


devel / comp.lang.xharbour / BCC32 modff

SubjectAuthor
* BCC32 modffEnrico Maria Giordano
+* Re: BCC32 modffRon Pinkas
|`* Re: BCC32 modffEnrico Maria Giordano
| `- Re: BCC32 modffEnrico Maria Giordano
`* Re: BCC32 modffEnrico Maria Giordano
 `* Re: BCC32 modffEnrico Maria Giordano
  `* Re: BCC32 modffEnrico Maria Giordano
   `* Re: BCC32 modffRon Pinkas
    `* Re: BCC32 modffEnrico Maria Giordano
     `* Re: BCC32 modffEnrico Maria Giordano
      `* Re: BCC32 modffEnrico Maria Giordano
       +* Re: BCC32 modffEnrico Maria Giordano
       |`* Re: BCC32 modffEnrico Maria Giordano
       | `- Re: BCC32 modffEnrico Maria Giordano
       `* Re: BCC32 modffRon Pinkas
        `* Re: BCC32 modffEnrico Maria Giordano
         `* Re: BCC32 modffRon Pinkas
          `* Re: BCC32 modffEnrico Maria Giordano
           `* Re: BCC32 modffRon Pinkas
            `* Re: BCC32 modffEnrico Maria Giordano
             `* Re: BCC32 modffRon Pinkas
              `* Re: BCC32 modffEnrico Maria Giordano
               `* Re: BCC32 modffRon Pinkas
                `- Re: BCC32 modffEnrico Maria Giordano

1
BCC32 modff

<umcmqa$357ak$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Mon, 25 Dec 2023 20:56:58 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <umcmqa$357ak$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 25 Dec 2023 19:56:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f721fcc489157079009fed72218a4b74";
logging-data="3317076"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YZOCTlAhSQWAsfDs8lgIZ"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:7z18z1Mj1bq62a20PYpPrC8zRG4=
Content-Language: it
 by: Enrico Maria Giordan - Mon, 25 Dec 2023 19:56 UTC

I still get this with BCC32:

Warning W8065 contrib\hbhpdf\hpdf_utils.c 219: Call to function 'modff'
with no prototype in function HPDF_FToA
Warning W8065 contrib\hbhpdf\hpdf_utils.c 223: Call to function 'modff'
with no prototype in function HPDF_FToA
Warning W8065 contrib\hbhpdf\hpdf_utils.c 238: Call to function 'modff'
with no prototype in function HPDF_FToA

Did you find a solution? Sorry, I don't remember... :-(

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umdhjm$3c5m6$2@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Mon, 25 Dec 2023 22:34:14 -0500
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <umdhjm$3c5m6$2@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Tue, 26 Dec 2023 03:34:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a4eaaf210f420cdd561a4a2c133041a";
logging-data="3544774"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BYkpMHGIl3IXrVnRWrDOJ32XJZT92kFk="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:Fs610L1z6WaI1AN7p9v29gI5Lzc=
 by: Ron Pinkas - Tue, 26 Dec 2023 03:34 UTC

Enrico Maria Giordano wrote:
>
> I still get this with BCC32:
>
> Warning W8065 contrib\hbhpdf\hpdf_utils.c 219: Call to function 'modff'
> with no prototype in function HPDF_FToA
> Warning W8065 contrib\hbhpdf\hpdf_utils.c 223: Call to function 'modff'
> with no prototype in function HPDF_FToA
> Warning W8065 contrib\hbhpdf\hpdf_utils.c 238: Call to function 'modff'
> with no prototype in function HPDF_FToA
>
> Did you find a solution? Sorry, I don't remember... :-(
>

Enrico,

I am confused. With which BCC version (please gett the info from the
command line)?

I use Embarcadero 7.30 (oldest) and it builds perfectly. Not a surprise
because ALL CLang based BCC are C11 conformantt and have modff().

Ron

Re: BCC32 modff

<ume7cp$3e80f$2@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 10:46:02 +0100
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <ume7cp$3e80f$2@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umdhjm$3c5m6$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 09:46:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3612687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Zm/lUcflwAaCH6yJvDwkf"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:oJVVc9eMnt7w3hRkAci0h9c2+XY=
Content-Language: it
In-Reply-To: <umdhjm$3c5m6$2@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 09:46 UTC

Il 26/12/2023 04:34, Ron Pinkas ha scritto:

>> I still get this with BCC32:
>>
>> Warning W8065 contrib\hbhpdf\hpdf_utils.c 219: Call to function 'modff'
>> with no prototype in function HPDF_FToA
>> Warning W8065 contrib\hbhpdf\hpdf_utils.c 223: Call to function 'modff'
>> with no prototype in function HPDF_FToA
>> Warning W8065 contrib\hbhpdf\hpdf_utils.c 238: Call to function 'modff'
>> with no prototype in function HPDF_FToA
>>
>> Did you find a solution? Sorry, I don't remember... :-(
>
> Enrico,
>
> I am confused. With which BCC version (please gett the info from the
> command line)?

Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero
Technologies, Inc.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<ume8i5$3em5f$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 11:05:58 +0100
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <ume8i5$3em5f$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umdhjm$3c5m6$2@dont-email.me>
<ume7cp$3e80f$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 10:05:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3627183"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RRs5X15j892Qpj0VbrZdE"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:iLvX0JYfxYZhSLJyjpvPgvMW8zI=
In-Reply-To: <ume7cp$3e80f$2@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 10:05 UTC

Il 26/12/2023 10:46, Enrico Maria Giordano ha scritto:

>> I am confused. With which BCC version (please gett the info from the
>> command line)?
>
> Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero
> Technologies, Inc.

This is a reduced sample:

#include <stdio.h>
#include <math.h>

int main()
{ float i, f;

f = modff( ( float ) 123.456, &i );

printf( "%f %f\n", i, f );

return 0;
}

Result:

Warning W8065 TEST.C 9: Call to function 'modff' with no prototype in
function main

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umes9s$3h8j5$3@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 16:42:54 +0100
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <umes9s$3h8j5$3@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 15:42:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3711589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sC17MbKwWDQQ3HQqjwDWM"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:vW/dN0ao134N11M8ZBRIXymudSY=
In-Reply-To: <umcmqa$357ak$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 15:42 UTC

Any news about this problem? BCC32 7.70 does not have modff in any of
its libraries, as far as I can see. So it can't be used.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umese1$3h8j5$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.swapon.de!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: BCC32 modff
Date: Tue, 26 Dec 2023 16:45:06 +0100
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <umese1$3h8j5$4@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 15:45:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3711589"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QaZsdHFnGZfbIcUbZbsnK"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:RjM9Dg/hMEC+CIMgzaa8dXqVHsc=
Content-Language: it
In-Reply-To: <umes9s$3h8j5$3@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 15:45 UTC

Il 26/12/2023 16:42, Enrico Maria Giordano ha scritto:

> Any news about this problem? BCC32 7.70 does not have modff in any of
> its libraries, as far as I can see. So it can't be used.

This is working fine:

#include <stdio.h>
#include <math.h>

int main()
{ float i, f;

f = ( float ) modf( 123.456, ( double * ) &i );

printf( "%f %f\n", i, f );

return 0;
}

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umet8k$3hhl9$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 16:59:18 +0100
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <umet8k$3hhl9$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Dec 2023 15:59:16 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3720873"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4AIULNO06YfCAbbRVXE88"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:gAfdUazSyC9R6KbGzQpxdl0G68g=
Content-Language: it
In-Reply-To: <umese1$3h8j5$4@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 15:59 UTC

Il 26/12/2023 16:45, Enrico Maria Giordano ha scritto:

>> Any news about this problem? BCC32 7.70 does not have modff in any of
>> its libraries, as far as I can see. So it can't be used.
>
> This is working fine:
>
> #include <stdio.h>
> #include <math.h>
>
>
> int main()
> {
>     float i, f;
>
>     f = ( float ) modf( 123.456, ( double * ) &i );
>
>     printf( "%f %f\n", i, f );
>
>     return 0;
> }

I propose to "fix" contrib\hbhpdf\hpdf_utils.c as above and forget the
problem till the next hbhpdf update (I can do 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: BCC32 modff

<umevvo$3htv3$2@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 11:45:43 -0500
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <umevvo$3htv3$2@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me> <umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Dec 2023 16:45:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a4eaaf210f420cdd561a4a2c133041a";
logging-data="3733475"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18BuGmLRc7gwQDYYLeRgiqVHMkSKeF1jCs="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:WzK0NNw8EKgACrw9giU3NPCBW6Y=
 by: Ron Pinkas - Tue, 26 Dec 2023 16:45 UTC

Enrico Maria Giordano wrote:
>
>
> Il 26/12/2023 16:45, Enrico Maria Giordano ha scritto:
>
> > > Any news about this problem? BCC32 7.70 does not have modff in any of
> > > its libraries, as far as I can see. So it can't be used.
> >
> > This is working fine:
> >
> > #include <stdio.h>
> > #include <math.h>
> >
> >
> > int main()
> > {
> >     float i, f;
> >
> >     f = ( float ) modf( 123.456, ( double * ) &i );
> >
> >     printf( "%f %f\n", i, f );
> >
> >     return 0;
> > }
>
> I propose to "fix" contrib\hbhpdf\hpdf_utils.c as above and forget the
> problem till the next hbhpdf update (I can do it). Please confirm.
>

Enrico,

Something MUST be wrong with your BCC 7.70 insttallation. modff() is a
standard <math.h> function, at least since 7.30.

We need to bettter understtand this issue.

Ron

Re: BCC32 modff

<umf4tf$3ij2t$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.bbs.nz!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: BCC32 modff
Date: Tue, 26 Dec 2023 19:09:52 +0100
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <umf4tf$3ij2t$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 18:09:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3755101"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xO9C6Z5Ccsz1djcp/eGGv"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:bSLoiuSTAS/O/s0JaeeTNgFWohA=
Content-Language: it
In-Reply-To: <umevvo$3htv3$2@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 18:09 UTC

Il 26/12/2023 17:45, Ron Pinkas ha scritto:

> Enrico,
>
> Something MUST be wrong with your BCC 7.70 insttallation. modff() is a
> standard <math.h> function, at least since 7.30.
>
> We need to bettter understtand this issue.

This is my test code:

#include <stdio.h>
#include <math.h>

int main()
{ float i, f;

f = modff( ( float ) 123.456, &i );

printf( "%f %f\n", i, f );

return 0;
}

And these are the results with BCC32 7.30 and BCC32 7.40:

Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero
Technologies, Inc.
TEST.C:
Warning W8065 TEST.C 9: Call to function 'modff' with no prototype in
function main

Embarcadero C++ 7.40 for Win32 Copyright (c) 1993-2018 Embarcadero
Technologies, Inc.
TEST.C:
Warning W8065 TEST.C 9: Call to function 'modff' with no prototype in
function main

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umf508$3ij2t$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.hispagatos.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: BCC32 modff
Date: Tue, 26 Dec 2023 19:11:21 +0100
Organization: A noiseless patient Spider
Lines: 48
Message-ID: <umf508$3ij2t$2@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Dec 2023 18:11:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3755101"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cyB0ekT4ti2NFfjN3tc5m"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:t2GWOhhkSRPmpxft4ib+1APYWDQ=
In-Reply-To: <umf4tf$3ij2t$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 18:11 UTC

Il 26/12/2023 19:09, Enrico Maria Giordano ha scritto:

>> We need to bettter understtand this issue.
>
> This is my test code:
>
> #include <stdio.h>
> #include <math.h>
>
>
> int main()
> {
>     float i, f;
>
>     f = modff( ( float ) 123.456, &i );
>
>     printf( "%f %f\n", i, f );
>
>     return 0;
> }
>
> And these are the results with BCC32 7.30 and BCC32 7.40:
>
> Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero
> Technologies, Inc.
> TEST.C:
> Warning W8065 TEST.C 9: Call to function 'modff' with no prototype in
> function main
>
> Embarcadero C++ 7.40 for Win32 Copyright (c) 1993-2018 Embarcadero
> Technologies, Inc.
> TEST.C:
> Warning W8065 TEST.C 9: Call to function 'modff' with no prototype in
> function main

Can I see the result of the above code with your compiler and the batch
you used to compile, please?

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umf5nc$3im1v$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 19:23:41 +0100
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <umf5nc$3im1v$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 18:23:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3758143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9Map8au88vjW/kWciwtiZ"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:THaB1JBb8UTfi9xSfJoZcpPd0g0=
Content-Language: it
In-Reply-To: <umf508$3ij2t$2@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 18:23 UTC

Please, look what is in math.h:

#if defined(__clang__)
[...]
float _EXPFUNC modff(float, float *);
[...]

So I presume you are using bcc32c.exe or bcc32x.exe, aren't you? I need
a solution for bcc32.exe. And I still don't understand why not using the
"normal" modf() function.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umfcdh$3jh90$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 21:17:53 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <umfcdh$3jh90$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Dec 2023 20:17:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3786016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+M6ZvppEVVl8d6g80x2BoZ"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:F5rpHyV1psvVubRG27uGIrBeNc8=
Content-Language: it
In-Reply-To: <umf5nc$3im1v$1@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 20:17 UTC

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

> Please, look what is in math.h:
>
> #if defined(__clang__)
> [...]
> float       _EXPFUNC modff(float, float *);
> [...]
>
> So I presume you are using bcc32c.exe or bcc32x.exe, aren't you? I need
> a solution for bcc32.exe. And I still don't understand why not using the
> "normal" modf() function.

At least I can adopt a local solution: a little program that "fix" the
code on the fly replacing modff() with modf(), to be run before BCC32
build starts.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umfjih$3kf2k$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.hispagatos.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: BCC32 modff
Date: Tue, 26 Dec 2023 17:20:01 -0500
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <umfjih$3kf2k$3@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me> <umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me> <umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me> <umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Tue, 26 Dec 2023 22:20:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97c45d564a3f8a83b44ee86593b0e11d";
logging-data="3816532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jeoxubnCj0dyOZNlImeGRtDf8uFIsaTA="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:MULEScBe3Ecz41B1rapMeSMnID8=
 by: Ron Pinkas - Tue, 26 Dec 2023 22:20 UTC

Enrico Maria Giordano wrote:
>
> Please, look what is in math.h:
>
> #if defined(__clang__)
> [...]
> float _EXPFUNC modff(float, float *);
> [...]
>
> So I presume you are using bcc32c.exe or bcc32x.exe, aren't you? I need
> a solution for bcc32.exe. And I still don't understand why not using the
> "normal" modf() function.
>

Enrico,

The official distributtion of BCC 7.30 (and I assume 7.70) does NOT
have bcc32.exe t only has bcc32c.exe (command line compatible with
legacy bcc32.exe) and bcc32x.exe - BOTH are CLang based C11 conformant
meaning they both support modff().

Please make sure tto download tthe OFFCIAL FREE BCC 7.30 from:

https://www.embarcadero.com/free-tools/ccompiler/free-download

It is a ZIP file which should be extracted to \bcc102

FWIW, if you have it then there is no need to settup annything and you
should be able tto just type 'make_bc all' in your xharbour root folder
and you should get core and all contribs tto build without any error.

This is my setup.

Ron

Re: BCC32 modff

<umfkc6$3ki6v$2@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 23:33:43 +0100
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <umfkc6$3ki6v$2@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
<umfjih$3kf2k$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 22:33:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3819743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18/v1hmIZOUvfupdQfboaY6"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:TypTn2gyaAdAZQNlEeJo7RaKCbA=
Content-Language: it
In-Reply-To: <umfjih$3kf2k$3@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 22:33 UTC

Il 26/12/2023 23:20, Ron Pinkas ha scritto:

>> So I presume you are using bcc32c.exe or bcc32x.exe, aren't you? I need
>> a solution for bcc32.exe. And I still don't understand why not using the
>> "normal" modf() function.
>
> Enrico,
>
> The official distributtion of BCC 7.30 (and I assume 7.70) does NOT
> have bcc32.exe t only has bcc32c.exe (command line compatible with
> legacy bcc32.exe) and bcc32x.exe - BOTH are CLang based C11 conformant
> meaning they both support modff().

This is not true! Maybe Embarcadero could have recently changed the
contents of their free packages but it is in the full commercial
packages. And in any case, this is not enough to simply ignore the
existence of bcc32.exe. You have added support for BCC55 (a very old
version!) and want to ignore the latest one?

> Please make sure tto download tthe OFFCIAL FREE BCC 7.30 from:
>
> https://www.embarcadero.com/free-tools/ccompiler/free-download
>
> It is a ZIP file which should be extracted to \bcc102
>
> FWIW, if you have it then there is no need to settup annything and you
> should be able tto just type 'make_bc all' in your xharbour root folder
> and you should get core and all contribs tto build without any error.
>
> This is my setup.

The point is not to select a compiler that can build xHarbour but fix
xHarbour to be built by a specific compiler.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umfkfg$3kf2k$6@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 17:35:28 -0500
Organization: A noiseless patient Spider
Lines: 40
Message-ID: <umfkfg$3kf2k$6@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me> <umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me> <umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me> <umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me> <umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me>
MIME-Version: 1.0
Injection-Date: Tue, 26 Dec 2023 22:35:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97c45d564a3f8a83b44ee86593b0e11d";
logging-data="3816532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3mW87HryaYfGSy7bbGiVSsoubw0Z0FOo="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:h73gir/c87UBov9fUIm/U1Drr9g=
 by: Ron Pinkas - Tue, 26 Dec 2023 22:35 UTC

Enrico Maria Giordano wrote:
>
>
> Il 26/12/2023 23:20, Ron Pinkas ha scritto:
>
> > > So I presume you are using bcc32c.exe or bcc32x.exe, aren't you? I need
> > > a solution for bcc32.exe. And I still don't understand why not using the
> > > "normal" modf() function.
> >
> > Enrico,
> >
> > The official distributtion of BCC 7.30 (and I assume 7.70) does NOT
> > have bcc32.exe t only has bcc32c.exe (command line compatible with
> > legacy bcc32.exe) and bcc32x.exe - BOTH are CLang based C11 conformant
> > meaning they both support modff().
>
> This is not true! Maybe Embarcadero could have recently changed the
> contents of their free packages but it is in the full commercial
> packages. And in any case, this is not enough to simply ignore the
> existence of bcc32.exe. You have added support for BCC55 (a very old
> version!) and want to ignore the latest one?
>
> > Please make sure tto download tthe OFFCIAL FREE BCC 7.30 from:
> >
> > https://www.embarcadero.com/free-tools/ccompiler/free-download
> >
> > It is a ZIP file which should be extracted to \bcc102
> >
> > FWIW, if you have it then there is no need to settup annything and you
> > should be able tto just type 'make_bc all' in your xharbour root folder
> > and you should get core and all contribs tto build without any error.
> >
> > This is my setup.
>
> The point is not to select a compiler that can build xHarbour but fix
> xHarbour to be built by a specific compiler.
>

Of coursse, except I have no clue WHICH compiler that is. You said Free
BCC 7.30, but I have itt insttalled and building fine.

Re: BCC32 modff

<umfkrs$3ki6v$5@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 23:42:05 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <umfkrs$3ki6v$5@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
<umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me>
<umfkfg$3kf2k$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 22:42:04 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4a6f9a8809f485c4c0715c266527648d";
logging-data="3819743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kM+tuAAx5XQggUIqVUKr2"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:R0v68KSZrWh1+NnN1JLAQ/h1LVc=
In-Reply-To: <umfkfg$3kf2k$6@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 22:42 UTC

Il 26/12/2023 23:35, Ron Pinkas ha scritto:

>> The point is not to select a compiler that can build xHarbour but fix
>> xHarbour to be built by a specific compiler.
>
> Of coursse, except I have no clue WHICH compiler that is. You said Free
> BCC 7.30, but I have itt insttalled and building fine.

Any BCC version. I repeat: bcc32.exe (ie. not CLANG) is provided with
the commercial version.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umflde$3kf2k$10@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 17:51:26 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <umflde$3kf2k$10@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me> <umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me> <umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me> <umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me> <umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me> <umfkfg$3kf2k$6@dont-email.me> <umfkrs$3ki6v$5@dont-email.me>
MIME-Version: 1.0
Injection-Date: Tue, 26 Dec 2023 22:51:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="97c45d564a3f8a83b44ee86593b0e11d";
logging-data="3816532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/jB8Y6s+YAqcl3OvWazi5O5TzpXkQJ3EU="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:D2zMLxmlbtVsI0DUvSBuZQokkpw=
 by: Ron Pinkas - Tue, 26 Dec 2023 22:51 UTC

Enrico Maria Giordano wrote:
>
>
> Il 26/12/2023 23:35, Ron Pinkas ha scritto:
>
> > > The point is not to select a compiler that can build xHarbour but fix
> > > xHarbour to be built by a specific compiler.
> >
> > Of coursse, except I have no clue WHICH compiler that is. You said Free
> > BCC 7.30, but I have itt insttalled and building fine.
>
> Any BCC version. I repeat: bcc32.exe (ie. not CLANG) is provided with
> the commercial version.
>

Enrico, my official insttallation did NOT include bcc32.exe only
bcc32c.exe and bcc32x.exe please run your bcc32.exe and tell me which
VERSION it is. Also please provide tthe content of bcc32.cfg.

Since we don't have auto detection for bcc32.exe beyong version 5.8
(please see find_bc.batt) then it means that you must specify
INCLUDE and LIB folders manually - please provide that info too.

Ron

Re: BCC32 modff

<umfmkd$3kpnq$2@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Wed, 27 Dec 2023 00:12:14 +0100
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <umfmkd$3kpnq$2@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
<umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me>
<umfkfg$3kf2k$6@dont-email.me> <umfkrs$3ki6v$5@dont-email.me>
<umflde$3kf2k$10@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Dec 2023 23:12:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4b5e9131ff29d46a87796a2ca99b469f";
logging-data="3827450"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JXgQhwGerXkqIfn5ueak5"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:hmlodD/1dLqxSBen7PgPfB7bt2M=
Content-Language: it
In-Reply-To: <umflde$3kf2k$10@dont-email.me>
 by: Enrico Maria Giordan - Tue, 26 Dec 2023 23:12 UTC

Il 26/12/2023 23:51, Ron Pinkas ha scritto:

>> Any BCC version. I repeat: bcc32.exe (ie. not CLANG) is provided with
>> the commercial version.
>
> Enrico, my official insttallation did NOT include bcc32.exe only
> bcc32c.exe and bcc32x.exe

Yes, but that is the free version. The commercial version includes also
bcc32.exe (not CLANG).

> please run your bcc32.exe and tell me which VERSION it is.

BCC 7.70 32 bit (not CLANG)

Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero
Technologies, Inc.

> Also please provide tthe content of bcc32.cfg.

-I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
-O
-O1
-OS
-Ob
-Oc
-Ov
-c
-d
-g0
-k-
-v-
-w
-w!
-w-inl

> Since we don't have auto detection for bcc32.exe beyong version 5.8
> (please see find_bc.batt) then it means that you must specify
> INCLUDE and LIB folders manually - please provide that info too.

Yes, I always specify them, even with the old build system.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umfr14$3laor$2@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Tue, 26 Dec 2023 19:27:16 -0500
Organization: A noiseless patient Spider
Lines: 59
Message-ID: <umfr14$3laor$2@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me> <umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me> <umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me> <umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me> <umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me> <umfkfg$3kf2k$6@dont-email.me> <umfkrs$3ki6v$5@dont-email.me> <umflde$3kf2k$10@dont-email.me> <umfmkd$3kpnq$2@dont-email.me>
MIME-Version: 1.0
Injection-Date: Wed, 27 Dec 2023 00:27:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0721c95aa64637519b5b4fd4bbb1d901";
logging-data="3844891"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KblY0datciYzIZec8LcEEyHrLoSx9HIE="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:8T8/9tQ8yRZ17WHLFiygQ4YVXs4=
 by: Ron Pinkas - Wed, 27 Dec 2023 00:27 UTC

Enrico Maria Giordano wrote:
>
>
> Il 26/12/2023 23:51, Ron Pinkas ha scritto:
>
> > > Any BCC version. I repeat: bcc32.exe (ie. not CLANG) is provided with
> > > the commercial version.
> >
> > Enrico, my official insttallation did NOT include bcc32.exe only
> > bcc32c.exe and bcc32x.exe
>
> Yes, but that is the free version. The commercial version includes also
> bcc32.exe (not CLANG).
>
> > please run your bcc32.exe and tell me which VERSION it is.
>
> BCC 7.70 32 bit (not CLANG)
>
> Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero
> Technologies, Inc.
>
> > Also please provide tthe content of bcc32.cfg.
>
> -I@\..\include\windows\crtl;@\..\include\windows\sdk;@\..\include\dinkumware
> -O
> -O1
> -OS
> -Ob
> -Oc
> -Ov
> -c
> -d
> -g0
> -k-
> -v-
> -w
> -w!
> -w-inl
>
> > Since we don't have auto detection for bcc32.exe beyong version 5.8
> > (please see find_bc.batt) then it means that you must specify
> > INCLUDE and LIB folders manually - please provide that info too.
>
> Yes, I always specify them, even with the old build system.
>

Thanks Enrico, how are the LIBs resolved - I do not see any -L in the
..cfg.

Ok, now that its clear that the bcc32.exe is part of the same
disttribution that include the conformant bcc32c.exe I am sorry butt I
do not see any reason to support the legacy bcc32.exe. The ONLY way to
get that legacy compiler is along side bcc32c.exe which we [auto]
support.

FWIW Embarcadero itself aparantly gave up on that compiler or it would
have been updated.

Ron

Re: BCC32 modff

<umgp5g$3s36f$3@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Wed, 27 Dec 2023 10:01:37 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <umgp5g$3s36f$3@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
<umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me>
<umfkfg$3kf2k$6@dont-email.me> <umfkrs$3ki6v$5@dont-email.me>
<umflde$3kf2k$10@dont-email.me> <umfmkd$3kpnq$2@dont-email.me>
<umfr14$3laor$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Dec 2023 09:01:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4b5e9131ff29d46a87796a2ca99b469f";
logging-data="4066511"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++k58fha02zx0EU78hRG5v"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:k6B4HqQuLRLGP0m/ora8CN/e6sY=
In-Reply-To: <umfr14$3laor$2@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Wed, 27 Dec 2023 09:01 UTC

Il 27/12/2023 01:27, Ron Pinkas ha scritto:

> Thanks Enrico, how are the LIBs resolved - I do not see any -L in the
> .cfg.

SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk

> Ok, now that its clear that the bcc32.exe is part of the same
> disttribution that include the conformant bcc32c.exe I am sorry butt I
> do not see any reason to support the legacy bcc32.exe. The ONLY way to
> get that legacy compiler is along side bcc32c.exe which we [auto]
> support.
>
> FWIW Embarcadero itself aparantly gave up on that compiler or it would
> have been updated.

No, they are not. Otherwise my bcc32.exe 7.70 of 2023 would not exist.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umhd97$3urlo$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!news.furie.org.uk!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: BCC32 modff
Date: Wed, 27 Dec 2023 15:44:56 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <umhd97$3urlo$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
<umfcdh$3jh90$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Dec 2023 14:44:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4b5e9131ff29d46a87796a2ca99b469f";
logging-data="4157112"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wDQQRCtB+XOddNwO7lNJf"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:jQNrKXZlySeh2ouOOx9UjggIFkc=
In-Reply-To: <umfcdh$3jh90$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Wed, 27 Dec 2023 14:44 UTC

Il 26/12/2023 21:17, Enrico Maria Giordano ha scritto:

> At least I can adopt a local solution: a little program that "fix" the
> code on the fly replacing modff() with modf(), to be run before BCC32
> build starts.

I found a better solution: I fixed BCC32 math.h adding this at the end:

#if !defined( __clang__ )

#define modff( f, i ) ( float ) modf( f, ( double * ) i )

#endif

Now BCC32 (not CLANG) can use modff() without problems.

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umhdub$3urlp$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Wed, 27 Dec 2023 15:56:12 +0100
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <umhdub$3urlp$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
<umfcdh$3jh90$1@dont-email.me> <umhd97$3urlo$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Dec 2023 14:56:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4b5e9131ff29d46a87796a2ca99b469f";
logging-data="4157113"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vf+/Do4X5uk3bfxjUO75u"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:mZFHNZSdcIbW3i1KAZsXdAR/gsE=
In-Reply-To: <umhd97$3urlo$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Wed, 27 Dec 2023 14:56 UTC

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

> I found a better solution: I fixed BCC32 math.h adding this at the end:
>
> #if !defined( __clang__ )
>
> #define modff( f, i ) ( float ) modf( f, ( double * ) i )
>
> #endif
>
> Now BCC32 (not CLANG) can use modff() without problems.

Even better:

#define modff( f, i ) ( float ) modf( f, ( double * ) i )

This is not required (is reduntant) as it is BCC32 not CLANG:

#if !defined( __clang__ )
#endif

--
Enrico Maria Giordano

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

Re: BCC32 modff

<umhia2$3vhch$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Wed, 27 Dec 2023 11:10:42 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <umhia2$3vhch$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me> <umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me> <umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me> <umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me> <umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me> <umfkfg$3kf2k$6@dont-email.me> <umfkrs$3ki6v$5@dont-email.me> <umflde$3kf2k$10@dont-email.me> <umfmkd$3kpnq$2@dont-email.me> <umfr14$3laor$2@dont-email.me> <umgp5g$3s36f$3@dont-email.me>
MIME-Version: 1.0
Injection-Date: Wed, 27 Dec 2023 16:10:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0721c95aa64637519b5b4fd4bbb1d901";
logging-data="4179345"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193HU6ho32qOyGPZt8EMw6+tP1Wid2R5sc="
User-Agent: flnews/1.2.0 (for Darwin)
Cancel-Lock: sha1:9e+uS5q0UX4iyPiNPJeJHS9S1Cg=
 by: Ron Pinkas - Wed, 27 Dec 2023 16:10 UTC

Enrico Maria Giordano wrote:
>
>
> Il 27/12/2023 01:27, Ron Pinkas ha scritto:
>
> > Thanks Enrico, how are the LIBs resolved - I do not see any -L in the
> > .cfg.
>
> SET LFLAGS=-L%BCC%\lib;%BCC%\lib\psdk
>
> > Ok, now that its clear that the bcc32.exe is part of the same
> > disttribution that include the conformant bcc32c.exe I am sorry butt I
> > do not see any reason to support the legacy bcc32.exe. The ONLY way to
> > get that legacy compiler is along side bcc32c.exe which we [auto]
> > support.
> >
> > FWIW Embarcadero itself aparantly gave up on that compiler or it would
> > have been updated.
>
> No, they are not. Otherwise my bcc32.exe 7.70 of 2023 would not exist.
>

If they did not, and its missing support for modff() of C99, maybe its
just a bug that you should report to them. Do they list anywhere the
standards supported by tthe compiler?

Re: BCC32 modff

<umhiel$3vk52$1@dont-email.me>

  copy mid

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

  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: BCC32 modff
Date: Wed, 27 Dec 2023 17:13:10 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <umhiel$3vk52$1@dont-email.me>
References: <umcmqa$357ak$1@dont-email.me> <umes9s$3h8j5$3@dont-email.me>
<umese1$3h8j5$4@dont-email.me> <umet8k$3hhl9$1@dont-email.me>
<umevvo$3htv3$2@dont-email.me> <umf4tf$3ij2t$1@dont-email.me>
<umf508$3ij2t$2@dont-email.me> <umf5nc$3im1v$1@dont-email.me>
<umfjih$3kf2k$3@dont-email.me> <umfkc6$3ki6v$2@dont-email.me>
<umfkfg$3kf2k$6@dont-email.me> <umfkrs$3ki6v$5@dont-email.me>
<umflde$3kf2k$10@dont-email.me> <umfmkd$3kpnq$2@dont-email.me>
<umfr14$3laor$2@dont-email.me> <umgp5g$3s36f$3@dont-email.me>
<umhia2$3vhch$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 27 Dec 2023 16:13:09 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4b5e9131ff29d46a87796a2ca99b469f";
logging-data="4182178"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197nr3xHwLSaxQdkzNEHjbN"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Y2pScCvE0yhpyXO9YW8Ip3pTfbQ=
In-Reply-To: <umhia2$3vhch$1@dont-email.me>
Content-Language: it
 by: Enrico Maria Giordan - Wed, 27 Dec 2023 16:13 UTC

Il 27/12/2023 17:10, Ron Pinkas ha scritto:

>> No, they are not. Otherwise my bcc32.exe 7.70 of 2023 would not exist.
>
> If they did not, and its missing support for modff() of C99, maybe its
> just a bug that you should report to them. Do they list anywhere the
> standards supported by tthe compiler?

Please let's drop this thread. It is fixed. Read my previous message.

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