* lib/gl_oset.hh: With MSVC, avoid 'friend'.
+2022-09-04 Bruno Haible <bruno@clisp.org>
+
+ oset-c++: Fix compilation error with MSVC 14.
+ * lib/gl_oset.hh: With MSVC, avoid 'friend'.
+
2022-09-04 Bruno Haible <bruno@clisp.org>
glob tests: Fix link error on mingw.
~iterator ()
{ gl_oset_iterator_free (&_state); }
- #if defined __xlC__ || defined __HP_aCC || defined __SUNPRO_CC || defined __EDG__
+ #if defined __xlC__ || defined __HP_aCC || defined __SUNPRO_CC || defined __EDG__ || (defined _MSC_VER && !defined __clang__)
public:
#else
private: