DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4291>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4291

mod_xslt.c Errors when "make ApacheModuleXSLT" on redhat 7.1

           Summary: mod_xslt.c Errors when "make ApacheModuleXSLT" on redhat
                    7.1
           Product: XalanC
           Version: 1.2.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I just wanted to let you know that there are a few errors thrown when you try to make 
the apache module. all of them are caused by invalid type conversions (e.g. const 
void* to void*). It's easy to fix by sb that knows C. The changes i made will follow 
below. the module works now, but maybe my corrections are bad programming style or 
make the thing instable in the long run, no c++ guru or page admin talking here ;)
well i have redhat 7.1, and i know that the default compiler setup sucks so maybe this 
is only related to redhat. to make Xalan i had to remove the -instances=static switch 
to get gcc to do even something...
some system details:
Redhat 7.1 Server
gcc 2.96
glibc-2.2.2-10

changes in mod_xslt.c:
line 110:
orig: static unsigned long xalan_output_handler(const void *data, unsigned long 
length, const void *handle)
mine: static unsigned long xalan_output_handler(const char *data, unsigned long 
length, void *handle)
line 128:
orig: static void xalan_flush_handler(const void *handle)
mine: static void xalan_flush_handler(void *handle)

Yours
 Mike

Reply via email to