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.
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.
> > 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
> 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
> > 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
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
> 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
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
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
> 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
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
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
_
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
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
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
> ___
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
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
17 matches
Mail list logo