Opened 2 hours ago

Last modified 112 minutes ago

#71319 new defect

qt5-qtcreator 6.0.2: clang++-16 build error -Wenum-constexpr-conversion

Reported by: rue-ryuzaki (Golubchikov Mihail) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc:
Port: qt5-qtcreator

Description

I can't build port qt5-qtcreator after updating to macOS 15. In build log the problem in static_cast<Flag>(-1) witch gives error: integer value -1 is outside the valid range of values [0, 255] for this enumeration type [-Wenum-constexpr-conversion]

I found that the '-Wenum-constexpr-conversion' flag is used by default for clang++ since version 16 and causes a build error. This problem was fixed with this commit in qtcreator v10.0.2.

I can create patch and check it later for v6.0.2, but I think it would be better to update qtcreator at least to v10.0.2 (or latest stable v14.0.2)

Change History (1)

comment:1 Changed 112 minutes ago by rue-ryuzaki (Golubchikov Mihail)

Version: 2.10.4
Note: See TracTickets for help on using tickets.