[fpc-devel] Apache header translation Patch

2007-12-12 Thread Inoussa OUEDRAOGO
Hi, This patch correct the linux problem with Apache 2.2x It was found by http://wiki.freepascal.org/index.php?title=User:AnthonyRulez Thanks. -- Inoussa O. apr.pas.diff Description: Binary data ___ fpc-devel maillist - fpc-devel@lists.freepascal.

Re: [fpc-devel] Apache header translation Patch

2007-11-12 Thread Inoussa OUEDRAOGO
done : http://www.freepascal.org/mantis/view.php?id=10156 2007/11/12, Marco van de Voort <[EMAIL PROTECTED]>: > > > double pointer to char in C). I was indeed wrong about the varargs > > > stuff I said earlier, for some reason I had read "array of pchar" as > > > "array of const". > > Ok, Thanks.

Re: [fpc-devel] Apache header translation Patch

2007-11-12 Thread Marco van de Voort
> > double pointer to char in C). I was indeed wrong about the varargs > > stuff I said earlier, for some reason I had read "array of pchar" as > > "array of const". > Ok, Thanks. > > By the way, h2pas should also be corrected, because it translates > > void f(int a, char* p[]); > > > t

Re: [fpc-devel] Apache header translation Patch

2007-11-12 Thread Inoussa OUEDRAOGO
> More importantly then supressing it, which I consider something > unimportant, would be knowing what it means, and if there is some kind > of potential problem it indicates that we are overlooking. Agree, clarified by Jonas's response . By the way, have you been able to make a module on ( Linux

Re: [fpc-devel] Apache header translation Patch

2007-11-12 Thread Inoussa OUEDRAOGO
> > This is the c prototype ( type ) translated, actualy it is a array > > of PCHAR. > > > > > > const char *(*take_argv) (cmd_parms *parms, void *mconfig, > >int argc, char *const argv[]); > > > > > > Is the following translation valid ? > > > > take_argv_t = function

Re: [fpc-devel] Apache header translation Patch

2007-11-12 Thread Jonas Maebe
On 12 Nov 2007, at 10:32, Inoussa OUEDRAOGO wrote: This is the c prototype ( type ) translated, actualy it is a array of PCHAR. const char *(*take_argv) (cmd_parms *parms, void *mconfig, int argc, char *const argv[]); Is the following translation valid ? take

Re: [fpc-devel] Apache header translation Patch

2007-11-12 Thread Inoussa OUEDRAOGO
> You can't get rid of that warning, and it should actually even be > worded more strongly. It is simply not possible to access C-style > varargs parameters at the callee side in FPC (you may be able to hak > using pointers which will work on some platforms, but it will crash > and burn in most cas

Re: [fpc-devel] Apache header translation Patch

2007-11-11 Thread Jonas Maebe
On 11 Nov 2007, at 17:06, Inoussa OUEDRAOGO wrote: I manage to get a code snipet that produces the warning, I do not known how to suppress this warning. Here is the code ( I compile with this command fpc -vw C: \tmp\b.pas ) {$mode objfpc}{$H+} program test_var_args; type TFunc = function

Re: [fpc-devel] Apache header translation Patch

2007-11-11 Thread Felipe Monteiro de Carvalho
More importantly then supressing it, which I consider something unimportant, would be knowing what it means, and if there is some kind of potential problem it indicates that we are overlooking. -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - f

Re: [fpc-devel] Apache header translation Patch

2007-11-11 Thread Inoussa OUEDRAOGO
> 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 manage to get a code snipet that produces the warning, I do not known how to suppress this warning. Here is the code ( I compile with this command fpc

Re: [fpc-devel] Apache header translation Patch

2007-11-01 Thread Yury Sidorov
From: "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> On 11/1/07, Yury Sidorov <[EMAIL PROTECTED]> 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 warni

Re: [fpc-devel] Apache header translation Patch

2007-11-01 Thread Felipe Monteiro de Carvalho
On 11/1/07, Yury Sidorov <[EMAIL PROTECTED]> 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 -- Felipe Monteiro de Carvalho _

Re: [fpc-devel] Apache header translation Patch

2007-11-01 Thread Felipe Monteiro de Carvalho
Thanks, applied on trunk. Maybe it could be added to 2.2.2? What are the exact requirements for 2.2.2? And how can one merge revisions into 2.2.2? thanks, -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://l

Re: [fpc-devel] Apache header translation Patch

2007-11-01 Thread Yury Sidorov
From: "Inoussa OUEDRAOGO" <[EMAIL PROTECTED]> Hi, These patchs correct the cmd_func type in http_config.inc : - 2.2-http_config.inc.diff for apache 2.2 - 2.0-http_config.inc.diff for apache 2.0 After your patch a warning appeared when compiling httpd-2.2: http_config.inc(135,3) Warning: cde

Re: [fpc-devel] Apache header translation Patch

2007-10-25 Thread Inoussa OUEDRAOGO
Ok, have a nice journey ;-) 2007/10/25, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: > hi, > > I am traveling without my computer. I should check and apply when I > come back, which means saturday. > > thanks, > -- > Felipe Monteiro de Carvalho > ___

Re: [fpc-devel] Apache header translation Patch

2007-10-25 Thread Felipe Monteiro de Carvalho
hi, I am traveling without my computer. I should check and apply when I come back, which means saturday. thanks, -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-d

[fpc-devel] Apache header translation Patch

2007-10-21 Thread Inoussa OUEDRAOGO
Hi, These patchs correct the cmd_func type in http_config.inc : - 2.2-http_config.inc.diff for apache 2.2 - 2.0-http_config.inc.diff for apache 2.0 Thanks -- Inoussa O. 2.2-http_config.inc.diff Description: Binary data 2.0-http_config.inc.diff Description: Binary data