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 2015/10/14 09:39:17 UTC
[Bug 51104] C++ support about httpd_config.h
https://bz.apache.org/bugzilla/show_bug.cgi?id=51104
m-takahashi@if.jp.nec.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Version|2.5-HEAD |2.4.16
Resolution|INVALID |---
--- Comment #2 from m-takahashi@if.jp.nec.com ---
> I think the only valid solution in current C++ is to use a cast.
C++11 supports designated initializer for union.
So it must be fixed.
Following works fine.
$ diff /usr/include/apache2/ap_config.h /usr/include/apache2/ap_config.h.old
175c175
< #if (defined(__GNUC__) && !defined(__cplusplus)) || (defined(__cplusplus) &&
201103L <= __cplusplus) || defined(AP_HAVE_C99)
---
> #if (defined(__GNUC__) && !defined(__cplusplus)) || defined(AP_HAVE_C99)
--
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