Neil Hodgson
unread,Dec 6, 2017, 5:46:22 PM12/6/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Scintilla mailing list
Just updated to the new (.5) release of Visual C++ 2017 (also called 15.5.0). There are new deprecation warnings due to derivation of regex support classes from std::iterator. While this produces many warnings, the core issue is a C++17 deprecation:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xutility(620): warning C4996: 'std::iterator<std::bidirectional_iterator_tag,wchar_t,ptrdiff_t,_Ty *,_Ty &>::iterator_category': warning STL4015: The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. (The <iterator> header is NOT deprecated.) The C++ Standard has never required user-defined iterators to derive from std::iterator. To fix this warning, stop deriving from std::iterator and start providing publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. You can define _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.
Could someone on Windows interested in regex look into this and work out a patch, please?
Neil