Op Fri, 3 Oct 2008, schreef Graeme Geldenhuys:
On Fri, Oct 3, 2008 at 2:31 AM, Joao Morais <[EMAIL PROTECTED]> wrote:
Because a Pascal compiler parses the interface section of an unit only once,
That would make sense. And probably the reason why FPC and Delphi are
such fast compilers compa
On Fri, Oct 3, 2008 at 2:31 AM, Joao Morais <[EMAIL PROTECTED]> wrote:
>
> Because a Pascal compiler parses the interface section of an unit only once,
That would make sense. And probably the reason why FPC and Delphi are
such fast compilers compared to C compilers.
Thanks for the info.
Regards
Also, then I looked at ap_config.h instead of http_config.h! o.O I
need to sleep ...
And searching to ap_hook_handler obviously shows nothing, because they
use their bizarre declaration method in apache.
--
Felipe Monteiro de Carvalho
___
fpc-devel mai
On Thu, Oct 2, 2008 at 11:48 PM, ABorka <[EMAIL PROTECTED]> wrote:
> The C example still works with ap_hook_handler, maybe they made it a macro
> or something?
No, otherwise it wouldn't link ... a better investigation shows it is
still there. It seams I made some mistakes (spotlight also didn't he
:)
The C example still works with ap_hook_handler, maybe they made it a
macro or something?
I believe the translation was for apache 2.2.3 header files, based on
the ap_mmn.inc included in fpc/packages/httpd22
In the comments there we can see
* 20051115.2 (2.2.2) added inreslist member to
My only short term solution for you would be: Use apache 2.0
The longer solution is: the apache 2.2 headers need a full review and update.
Doing the C header to Pascal conversion is very easy, but a large
manual work. I followed some guidelines which should be kept. The c
headers are converted ma
wow, I just downloaded the source code of apache 2.2.9 and I can't
even find ap_hook_handler! o.O I think they removed the function.
I just looked at the apache 2.2 fpc headers, and the version info is
missing. I somehow forgot to write in which apache version the
translation was based.
based on
OK, I'll see what can I do to get some older apache into a Linux install
to test it.
Did some more tests meanwhile, if the ap_hook_handler is executed below,
all the modules loaded after this one in the apache2.conf, are stop
working (always returning an empty page). If it is commented out, th
On Thu, Oct 2, 2008 at 10:53 PM, ABorka <[EMAIL PROTECTED]> wrote:
> It works under Windows with apache 2.2.9 which is even newer version, but
> not on Linux with apache 2.2.8 . Is it still needed to be checked on older
> Apache versions?
Yes, it's a linux specific problem. You need to compare ver
It works under Windows with apache 2.2.9 which is even newer version,
but not on Linux with apache 2.2.8 . Is it still needed to be checked on
older Apache versions?
Felipe Monteiro de Carvalho wrote:
On Thu, Oct 2, 2008 at 10:14 PM, ABorka <[EMAIL PROTECTED]> wrote:
Any suggestion why apach
On Thu, Oct 2, 2008 at 10:14 PM, ABorka <[EMAIL PROTECTED]> wrote:
> Any suggestion why apache 2.2.8 does not want to load the FPC compiled
> apache modules (ex: mod_hello.pp in packages/httpd2/examples) on Linux?
Some time ago I suggested for you to test older apache versions. I
still suggest tha
Thanks, Jonas.
Any suggestion why apache 2.2.8 does not want to load the FPC compiled
apache modules (ex: mod_hello.pp in packages/httpd2/examples) on Linux?
.
.snip
.
{$define Apache2_2}
uses SysUtils, httpd {$ifndef Apache1_3}, apr{$endif};
var
test_module: module; public name 'test_module
Graeme Geldenhuys wrote:
Hi.
Quote from CodeGear news
"circular uses clauses - why can't I declare two classes in two units
that refer to each other? Why doesn't forward declarations cope with
this? I've got this feature in C, C++ and C# why not Delphi?"
Because a Pascal compiler parses the in
The difference between include and uses is that include just drop
everything inside the file that is using it, uses is also adding
namespace and you do not share the same content.
The problem with circular issues, is that it really hard to debug
problems, and it usually cosing more headacks then so
Hi.
Quote from CodeGear news
"circular uses clauses - why can't I declare two classes in two units
that refer to each other? Why doesn't forward declarations cope with
this? I've got this feature in C, C++ and C# why not Delphi?"
That's a good question... Why can't FPC allow that either? I don't
I don't want to wake up sleeping dogs, but while updating various slides
to base them on FreePascal/Lazarus instead of Delphi, I found that
some documentation that I had copied from the Delphi Help years ago
(probably version 6 or so), is literally the same in the FreePascal
RTL documentation.
In
I am using the latest checkout for both fpc and lazarus (well, 2 or 3
days old checkout now).
Bug 11460 only fixes the apr_off_t to be int64 which is already in the
checked out code. It does not fix the problem currently for apache
modules. Compiled apache modules are not working (example progra
In our previous episode, ABorka said:
> On Linux (Ubuntu 8.04), latest SVN, in fpc/packages/httpd22/...
If you use 2.2.3 branch, I had a feeling I had seen something like this
before and found bug 11460, so I merged the fixes for bug 11460 from 2.3.1
to 2.2.1
_
18 matches
Mail list logo