[fpc-devel] Apache header translation Patch

Yury Sidorov jura at cp-lab.com
Thu Nov 1 11:20:07 CET 2007


From: "Felipe Monteiro de Carvalho" 
<felipemonteiro.carvalho at gmail.com>
> On 11/1/07, Yury Sidorov <jura at cp-lab.com> wrote:
>> After your patch a warning appeared when compiling httpd-2.2:
>>
>> http_config.inc(135,3) Warning: cdecl'ared functions have no high
>> parameter
>
> I just built it with fpc 2.3 and I see no warning ... strange

Probably you have warning turned off. I get the following:

Free Pascal Compiler version 2.3.1 [2007/11/01] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling httpd.pas
http_config.inc(134,3) Warning: cdecl'ared functions have no high 
parameter
httpd.pas(158,32) Warning: Converting pointers to signed integers may 
result in wrong comparison results and range errors, use an unsigned 
type instead.
httpd.pas(165,28) Warning: Converting pointers to signed integers may 
result in wrong comparison results and range errors, use an unsigned 
type instead.
9395 lines compiled, 0.2 sec
3 warning(s) issued

Yury. 



More information about the fpc-devel mailing list