On 10.0, when apache modules are using c++, they fail building with errors like:
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I/usr/local/include/apache22 -I/usr/local/include/apr-1 -I/usr/local/include -L/usr/local/lib -I/usr/local/include -I/usr/local/include -Wall -O2 -pipe -I/usr/local/include -I/usr/include/openssl -fno-strict-aliasing -MT moid_ut ils.lo -MD -MP -MF .deps/moid_utils.Tpo -c moid_utils.cpp -fPIC -DPIC -o .libs/moid_utils.o c++: warning: argument unused during compilation: '-L/usr/local/lib' c++: warning: argument unused during compilation: '-L/usr/local/lib' c++c++: : warning: argument unused during compilation: '-L/usr/local/lib'warning: argument unused during compilation: '-L/usr/local/lib' In file included from In file included from In file included from In file included from MoidConsumer.cppmod_auth_openid.cpp:In file included from :28http_helpers.cpp: :In file included from 2828./mod_auth_openid.h: : :In file included from In file included from ./mod_auth_openid.hmoid_utils.cppSessionManager.cpp:53./mod_auth_openid.h53::2828:: 53: : In file included from /usr/include/c++/v1/cstdlib./mod_auth_openid.hIn file included from : : :/usr/include/c++/v1/cstdlib::11653/usr/include/c++/v1/cstdlib116: ::9/usr/include/c++/v1/cstdlib./mod_auth_openid.h:: ::11653116error: : no member named 'strtoul_is_not_a_portable_function_use_strtol_instead' in the global namespace: 9/usr/include/c++/v1/cstdlib9::: using ::strtoul;error: error: no member named 'strtoul_is_not_a_portable_function_use_strtol_instead' in the global namespace116no member named 'strtoul_is_not_a_portable_function_use_strtol_instead' in the global namespace: ~~^ 9 /usr/local/include/apache22/httpd.h::1912 using ::strtoul;using ::strtoul;: 17:: ~~^ ~~^error: /usr/local/include/apache22/httpd.h/usr/local/include/apache22/httpd.hnote: :expanded from macro 'strtoul': 19121912:no member named 'strtoul_is_not_a_portable_function_use_strtol_instead' in the global namespace 9:17#define strtoul strtoul_is_not_a_portable_function_use_strtol_instead17:: using ::strtoul;: ^ note: note: expanded from macro 'strtoul'expanded from macro 'strtoul' ~~^ error: no member named 'strtoul_is_not_a_portable_function_use_strtol_instead' in the global namespace /usr/local/include/apache22/httpd.h:1912:17: note: expanded from macro 'strtoul' #define strtoul strtoul_is_not_a_portable_function_use_strtol_instead using ::strtoul; ^#define strtoul strtoul_is_not_a_portable_function_use_strtol_instead #define strtoul strtoul_is_not_a_portable_function_use_strtol_instead ~~^ ^ ^