+2020-02-08 Bruno Haible <bruno@clisp.org>
+
+ Fix compilation errors in a testdir created with --with-c++-tests.
+ * lib/c++defs.h (_GL_CXXALIASWARN1_2): Do not use __typeof__ (func),
+ since it does not work any more with g++ >= 4.4.
+
2020-02-08 Bruno Haible <bruno@clisp.org>
doc: Update for glibc 2.31.
_GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \
"The symbol ::" #func " refers to the system function. " \
"Use " #namespace "::" #func " instead.")
-# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING
-# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
- extern __typeof__ (func) func
# else
# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \
_GL_EXTERN_C int _gl_cxxalias_dummy