mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
configure: Fix C++11 test with -Werror=missing-declarations
This fixes the following error (copied from config.log): conftest.cpp:49:14: error: no previous declaration for 'void test_template_alias_sfinae::test()' [-Werror=missing-declarations] Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
@@ -76,6 +76,8 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[
|
||||
template<typename T>
|
||||
void func(member<T>*) {}
|
||||
|
||||
void test();
|
||||
|
||||
void test() {
|
||||
func<foo>(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user