Re: [fpc-devel] Building trunk of today fails on Windows: Error:Invalid DLL C:\WINDOWS\system32\common.dll, invalid header size

2021-08-22 Thread wkitty42--- via fpc-devel

On 8/22/21 1:56 AM, J. Gareth Moreton via fpc-devel wrote:

It might be to do with the order that directories are searched. If it finds the 
64-bit version
ghost, then it will throw an error. I've requested to change the error to a 
warning instead in the
post, but was shot down.


if that Common.dll file is only valid for 64bit windows builds, perhaps the 
better thing to do is to wrap the $linklib line in a check to see if you are 
building 64bit... if 64bit then loadlib otherwise, noop... seems logical at 
first glance but the question then is if one can determine the bitness of the 
current build in progress...



--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list where it belongs!*
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Why: "Can't take the address of constant expressions" here?

2023-01-13 Thread wkitty42--- via fpc-devel

On 1/12/23 10:29 AM, Mattias Gaertner via fpc-devel wrote:

On Wed, 11 Jan 2023 23:58:34 +0100
Bart via fpc-devel  wrote:

[...]

begin
   with WideStringManager do
   begin
 writeln(1);
 Wide2AnsiMoveProc(pwidechar(WSource),RawByteString(ADest),
CP_UTF8, Length(WSource));
 writeln(2);
 Ansi2WideMoveProc(PChar(ASource), CP_UTF8, UDest,
Length(ASource));   //<< test.lpr(24,53) Error: Can't take the address
of constant expressions (caret behind UDest)
end.


First of all, adding a 'end;" for the "with" compiles under Linux.
That's because widestring=unicodestring on Linux.


i'm a little surprised there is no "mismatched begin/end" error with the caret 
pointing to the 2nd begin...


--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list where it belongs!*
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Why: "Can't take the address of constant expressions" here?

2023-01-14 Thread wkitty42--- via fpc-devel

On 1/13/23 5:35 AM, Bart via fpc-devel wrote:

On Fri, Jan 13, 2023 at 11:13 AM wkitty42--- via fpc-devel
 wrote:





First of all, adding a 'end;" for the "with" compiles under Linux.
That's because widestring=unicodestring on Linux.


i'm a little surprised there is no "mismatched begin/end" error with the caret
pointing to the 2nd begin...

--


That's a copy/paste error.by me.
The original code had about 10 more function calls and then a closing
end for the "with WideStringManager do begin "



oh! that would explain it :lol:


--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list where it belongs!*
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] Curious about the effect of all the new optimizations....

2023-03-02 Thread wkitty42--- via fpc-devel

On 3/1/23 8:53 AM, Mattias Gaertner via fpc-devel wrote:

On Wed, 1 Mar 2023 14:10:28 +0100
Sven Barth via fpc-devel  wrote:


[...]

I can't remember the proverb that Florian used, but it essentially
boils down to very small changes, individually not amounting to
much, but which accumulate into a noticable difference when in
large numbers.


It's a German proverb: "Mühsam ernährt sich das Eichhörnchen"


The squirrel has a hard time feeding itself


Maybe more like "Kleinvieh macht auch Mist" ?


Small livestock makes crap too

both make sense! LOL

--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list where it belongs!*
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


Re: [fpc-devel] wiki slow

2025-02-23 Thread wkitty42--- via fpc-devel

On 2/23/25 6:19 AM, Jonas Maebe via fpc-devel wrote:

On 22/02/2025 18:40, Werner Pamler via fpc-devel wrote:

Am 22.02.2025 um 09:25 schrieb Jonas Maebe via fpc-devel:
Many of them have been blacklisted automatically already by fail2ban. I'll 
manually blacklist all of their IP ranges now.

Thank you. It's working again.


They're not giving up...

3 135K 8094K REJECT all  --  *  *   0.0.0.0/0 
0.0.0.0/0    source IP range 47.74.0.0-47.87.255.255 reject-with 
icmp-port-unreachable


(the 135K is the number of packets, the 8098K is the number of bytes)


FWIW: instead of rejecting, i would drop... that way their networking stack has 
to wait on timeouts and adds a delay load to their stuff... dropping also makes 
you "invisible" to them... with your rejects, your (icmp) responses tell them 
the system still exists, so they keep hammering...



--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list where it belongs!*
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel