[fpc-devel] (not) initialized managed variable / regarding ansistring

2025-02-23 Thread Martin Frb via fpc-devel
Ok, so we all (should?) know function Foo: ansistring; var s: ansistring; begin   SetLenght(s, 1); fillchar(@s[1], 1, ' ');   SetLenght(Result, 1); fillchar(@Result[1], 1, ' '); end; This will give the "uninitialized" warnings, as SetLength takes a "var param". However, despit

Re: [fpc-devel] "unused variable" depends on optimization?

2025-02-23 Thread Florian Klämpfl via fpc-devel
> Am 23.02.2025 um 14:26 schrieb Martin Frb via fpc-devel > : > > On 23/02/2025 14:16, Jonas Maebe via fpc-devel wrote: >> On 23/02/2025 14:14, Martin Frb via fpc-devel wrote: >>> Is it correct (i.e. by design) that the compiler emits some "may not be >>> initialized" warnings, only on certai

Re: [fpc-devel] "unused variable" depends on optimization?

2025-02-23 Thread Martin Frb via fpc-devel
On 23/02/2025 14:16, Jonas Maebe via fpc-devel wrote: On 23/02/2025 14:14, Martin Frb via fpc-devel wrote: Is it correct (i.e. by design) that the compiler emits some "may not be initialized" warnings, only on certain optimization levels? Yes. Those warnings depends on data flow analysis, whic

[fpc-devel] "unused variable" depends on optimization?

2025-02-23 Thread Martin Frb via fpc-devel
Is it correct (i.e. by design) that the compiler emits some "may not be initialized" warnings, only on certain optimization levels? The following is - NOT given with -O1 - present with -O3 lazsyntextarea.pp(1325,54) Warning: Local variable "ViewedRange" does not seem to be initialized O1 is

Re: [fpc-devel] wiki slow

2025-02-23 Thread Jonas Maebe via fpc-devel
On 23/02/2025 13:56, wkitty42--- via fpc-devel wrote: 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

Re: [fpc-devel] wiki slow

2025-02-23 Thread Johann Glaser via fpc-devel
Hi! Am Sonntag, dem 23.02.2025 um 12:19 +0100 schrieb Jonas Maebe via fpc- devel: > 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 ma

Re: [fpc-devel] "unused variable" depends on optimization?

2025-02-23 Thread Jonas Maebe via fpc-devel
On 23/02/2025 14:14, Martin Frb via fpc-devel wrote: Is it correct (i.e. by design) that the compiler emits some "may not be initialized" warnings, only on certain optimization levels? Yes. Those warnings depends on data flow analysis, which is only enabled by defaullt at -O3 and higher. You c

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

Re: [fpc-devel] wiki slow

2025-02-23 Thread Jonas Maebe via fpc-devel
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...