You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/11/04 15:56:38 UTC
DO NOT REPLY [Bug 37357] New: -
extern "C" linkage specification in unixd.h is required for C++
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37357
Summary: extern "C" linkage specification in unixd.h is required
for C++
Product: Apache httpd-2.0
Version: 2.0.54
Platform: All
URL: http://svn.apache.org/viewcvs.cgi/httpd-
2.0/os/unix/unixd.h?root=Apache&view=markup
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: Platform
AssignedTo: bugs@httpd.apache.org
ReportedBy: albert.jin@gmail.com
An apache httpd module implemented with C++ cannot be loaded if call a
function from unixd.h (built with g++/libtool). Why not add extern "C"
linkage specification inside this header? This looks not consistent with
other header include style,
extern "C" {
#include "unixd.h"
}
// ...
unixd_set_global_mutex_perms(...);
// ...
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org