This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
‘defaultValue’ may be used uninitialized in this function #12870
Labels
Qt
Mapbox Maps SDK for Qt, aka Qt Location Mapbox GL
Platform: Debian Stretch (QT)
Steps to trigger behavior
Trying to build
BUILDTYPE=Release make qt-app
fails with the following errorBigger snippet of the build logs https://gist.github.com/danzel/e1e7fea51ab6ba6b30e7c6df5eb6ee8d
Attempting to build with latest git (e947fa0) fails.
Building with 9df9f5f succeeds. (Chosen as it is the parent of the commit that I believe broke this)
The code the error is coming from was moved around in #12665 by @kkaefer, it does sorta look like it may be using the variable without assigning it.
https://github.com/mapbox/mapbox-gl-native/blob/master/src/mbgl/style/conversion/function.cpp#L75-L94
Otherwise maybe could be g++ version, circleci seems to build with 5.4.0, which is older than 6.3.0 that I am using.
The text was updated successfully, but these errors were encountered: