Page MenuHomePhabricator

Compiler warnings/errors because of QList on Visual Studio 2022 version 17.8
Closed, ResolvedPublic

Description

Qwt and BlueBerry use QList in a way that triggers deprecation warnings in Visual Studio 2022 version 17.8.

'stdext::checked_array_iterator<const T *>': warning STL4043: stdext::checked_array_iterator,
stdext::unchecked_array_iterator, and related factory functions are non-Standard extensions
and will be removed in the future. std::span (since C++20) and gsl::span can be used instead.
You can define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING or _SILENCE_ALL_MS_EXT_DEPRECATION_WARNINGS
to suppress this warning.