> Is there a way to generate compile-time warnings for_enum values_?
Yes, Q_DECL_ENUMERATOR_DEPRECATED and similar.
The latest version of Q_DECL_DEPRECATED and friends should also work. I recall
it got changed to use [[deprecated]] C++ attribute, which should support enum
value case.
--
Best R
Il 08/04/21 12:00, Sze Howe Koh ha scritto:
Is there a way to generate compile-time warnings for_enum values_?
Yes, Q_DECL_ENUMERATOR_DEPRECATED and similar.
Thanks,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. Fran
There is a Q_DECL_ENUMERATOR_DEPRECATED to mark enumerators as deprecated.
--
Fabian Kosmale
Software Engineer
The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin
fabian.kosm...@qt.io
+49 1638686070
http://qt.io
Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft
On Thu, 8 Apr 2021 at 04:43, Volker Hilsheimer wrote:
> without compile time warning those methods will still be in use, so we can’t
> remove them.
Is there a way to generate compile-time warnings for _enum values_?
Here are some existing flags that were missed during the Qt 6.0 cull:
* Code co
> On 8 Apr 2021, at 06:26, Konstantin Shegunov wrote:
>
> On Wed, Apr 7, 2021 at 4:51 PM Giuseppe D'Angelo
> wrote:
> Uhm... didn't they decide exactly against this? I might have missed the
> memo.
>
> Well, apparently I did.
>
> On Wed, Apr 7, 2021 at 5:05 PM Volker Hilsheimer
> wrote: