For example, the native C compiler for Solaris 10 (Sun C in, at least,
the version 5.9 .. 5.15 range) supports C99 flexible array members,
but the matching C++ compiler doesn’t.
sr #111380
' cxx_define_varies:__STDC_NO_VLA__' .
' cxx_cv_varies:cxx_vararrays]')
},
+ AC_C_FLEXIBLE_ARRAY_MEMBER => {
+ test_parameters => ('[cxx_define_varies:FLEXIBLE_ARRAY_MEMBER' .
+ ' cxx_cv_varies:cxx_flexmember]')
+ },
# stdbool.h is supposed to be includable from C++, per C++2011
# [support.runtime], but the type _Bool was not added to the C++