Hi,
the TInetSocket ConnectTimeout cannot be smaller than 1 second. The
reason is that the TInetSocket's CheckSocketConnectTimeout function has
the microseconds field (tv_usec) of locTimeVal (PTimeVal) variable
always zero .
I created a PR (
https://gitlab.com/freepascal.org/fpc/source/
Here it is.
https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/237
By the way - thanks for telling me to test my typeconv strip on JVM.
I've got a failure that I need to investigate now.
Gareth aka. Kit
--
This email has been checked for viruses by Avast antivirus software.
http
On 2022-06-08 21:10, J. Gareth Moreton via fpc-devel wrote:
Thanks for your help. I've had to make a lot of changed to
testall.bat since it was malformed in places. I've got it working now
though.
Would there be interest in me creating a merge request with the
improved TESTALL.BAT file for
Hi Jonas,
Thanks for your help. I've had to make a lot of changed to testall.bat
since it was malformed in places. I've got it working now though.
Would there be interest in me creating a merge request with the improved
TESTALL.BAT file for tests/test/jvm?
Gareth aka. Kit
On 08/06/2022 1
On Wed, Jun 8, 2022 at 3:24 PM Marco van de Voort via fpc-devel
wrote:
> I doubt that there are mission critical convutils programs out there,
> given the fact that it took 10+ years to find out the temperature
> conversion didn't work :-)
I agree.
I only stubled upon this unit because I have u
On Wed, Jun 8, 2022 at 3:55 PM Stefan Glienke via fpc-devel
wrote:
> Actually the behavior in Delphi depends on the $R switch.
D7:
{$R+}
ConvTypeToDescription(-1)=[$]
{$R-}
ConvTypeToDescription(-1)=[$]
Bart
--
Bart
___
fpc-devel ma
On 2022-06-08 15:15, J. Gareth Moreton via fpc-devel wrote:
The testall.bat file took some modification since it doesn't handle
parameters like testall.sh does. I didn't get too far though:
You have to install our own, patched version of Jasmin:
https://wiki.freepascal.org/FPC_JVM#Download
Okay. got the JDK installed (and got javac), so we're making progress!
Mostly...
testall.sh still won't run since I'm not specifying the correct options
I don't think. I've gotten testall.bat partially working, but still
getting errors (I had to add the '.java' extension to JavaClass to
pre
> On 08/06/2022 14:58 Bart via fpc-devel wrote:
>
> code like this will not raise an exception Delphi, while it does
> in Fpc:
>
> var
> L: Integer;
> begin
> L:=-1;
> writeln('ConvTypeToDescription(L)=',ConvTypeToDescription(L)); //
> prints [$] in D7, EAccessViolation in fpc
> e
On 8-6-2022 15:14, Bart via fpc-devel wrote:
Changing our TConvType to word will potentially break existing programs though.
I doubt that there are mission critical convutils programs out there,
given the fact that it took 10+ years to find out the temperature
conversion didn't work :-)
U
The lack of "javac" is a little confusing. I have a lot to learn!
Gareth aka. Kit
On 08/06/2022 14:15, J. Gareth Moreton via fpc-devel wrote:
The testall.bat file took some modification since it doesn't handle
parameters like testall.sh does. I didn't get too far though:
C:\Users\garet\Docu
The testall.bat file took some modification since it doesn't handle
parameters like testall.sh does. I didn't get too far though:
C:\Users\garet\Documents\programming\fpc-opts\tests\test\jvm>..\..\..\compiler\ppcjvm
-Fu..\..\..\rtl\units\jvm-java -O2 -g test
Generated: .\org\freepascal\test\t
On Wed, Jun 8, 2022 at 11:43 AM Bart wrote:
> And another observation: on Delphi 7 TConvType seems to be unsiged (in
> fpc it's signed).
Actually it is documented to be of type Word:
https://docwiki.embarcadero.com/Libraries/Sydney/en/System.ConvUtils.TConvType.
I guess nobody needs more than 65
On Wed, Jun 8, 2022 at 11:43 AM Bart wrote:
>
> And another observation: on Delphi 7 TConvType seems to be unsiged (in
> fpc it's signed).
And as a consequence compilation in Delphi fails if a negative value
is supplied to a function that takes a TConvType as a parameter, but
also code like this
On 2022-06-08 14:42, J. Gareth Moreton via fpc-devel wrote:
on x86_64-win64 after downloading the necessary runtimes, but how do I
run the test suite for jvm-java?
erroru.pp(25,3) Fatal: Unknown compilerproc "fpc_get_output". Check if
you use the correct run time library.
Fatal: Compilation a
Hi everyone,
So since a large number of my new optimisations do things at the nodal
level, I need to do much more extensive testing. One thing that was
brought up was testing JVM and LLVM. I've managed to build "ppcjvm" on
x86_64-win64 after downloading the necessary runtimes, but how do I r
And another observation: on Delphi 7 TConvType seems to be unsiged (in
fpc it's signed).
--
Bart
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Hi,
I've been trying to improve the ConvUtils unit.
Now I've ran into a problem.
ConvTypeToFamily returns CIllegalConvFamily (=0) if AType is not registered.
This however is a problem. If AType is a type registered in the first
registered family, ConvTypeToFamily will also return 0.
This means th
18 matches
Mail list logo