httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50243] New: parameter "new" in ap_merge_log_config prototype cause errors while compiling C++ module
Date Wed, 10 Nov 2010 08:57:12 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50243

           Summary: parameter "new" in ap_merge_log_config prototype cause
                    errors while compiling C++ module
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: simcha.churaroo@optier.com


Detected in 2.3.8.

I am building my C++ apache module (which was built fine with 2.0.* and 2.2.*).
I get the following error:

/mybuild/apache/httpd/include/http_config.h:989: syntax error before `new'

I managed to workaround this error by modifying my module code as follows:

#define new _new_
#include "http_config.h"
#undef new


However, I think apache core header files should compile fine out-of-the-box.


gcc version:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message