#1 2019-02-22 09:27:41

emaxx
Member
Registered: 2014-07-03
Posts: 18

E2137: Method 'QueueLength' not found in base class

version 1.18.5053 breaks compilation if USE_WINIOCP is not defined.

this would fix the issue:

index 85e41cec..2b2e3c10 100644
@@ -1018,3 +1018,5 @@ type
     fBodyOwnThreads: integer;
+    {$ifndef USE_WINIOCP}
     function QueueLength: integer; override;
+    {$endif}
     // here aContext is a pointer(TSocket=THandle) value
@@ -7127,2 +7129,3 @@ end;
 
+{$ifndef USE_WINIOCP}
 function TSynThreadPoolTHttpServer.QueueLength: integer;
@@ -7133,2 +7136,3 @@ begin
 end;
+{$endif}

Offline

#2 2019-02-22 13:10:56

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,240
Website

Re: E2137: Method 'QueueLength' not found in base class

Yes, sorry for the issue.

It is fixed (also for FPC) by https://synopse.info/fossil/info/cb774010da

Offline

Board footer

Powered by FluxBB