Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
6.8.0 Beta4, 6.9.0 FF
-
None
-
d597ea558 (dev), 783c8c4a1 (6.8)
Description
MT src/common-lib/CMakeFiles/AppManCommonPrivate.dir/colorprint.cpp.o -MF src/common-lib/CMakeFiles/AppManCommonPrivate.dir/colorprint.cpp.o.d -o src/common-lib/CMakeFiles/AppManCommonPrivate.dir/colorprint.cpp.o -c /Users/qt/work/qt/qtapplicationmanager/src/common-lib/colorprint.cpp /Users/qt/work/qt/qtapplicationmanager/src/common-lib/colorprint.cpp:65:5: error: use of undeclared identifier 'qsnprintf'; did you mean 'vsnprintf'? qsnprintf(tmp, sizeof(tmp), "%d", i); ^~~~~~~~~ vsnprintf /Applications/Xcode15.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/stdio.h:340:6: note: 'vsnprintf' declared here int vsnprintf(char * __restrict __str, size_t __size, const char * __restrict __format, va_list) __printflike(3, 0); ^ /Users/qt/work/qt/qtapplicationmanager/src/common-lib/colorprint.cpp:65:39: error: cannot initialize a parameter of type 'va_list' (aka 'char *') with an lvalue of type 'int' qsnprintf(tmp, sizeof(tmp), "%d", i); ^ /Applications/Xcode15.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/stdio.h:340:97: note: passing argument to parameter here int vsnprintf(char * __restrict __str, size_t __size, const char * __restrict __format, va_list) __printflike(3, 0); ^ 2 errors generated.
Details: https://testresults.qt.io/coin/integration/qt/qtapplicationmanager/tasks/1723681291
Tested changes (refs/builds/qtci/dev/1723677693):
https://codereview.qt-project.org/c/qt/qtapplicationmanager/+/583185/2 Update dependencies on 'dev' in qt/qtapplicationmanager
Attachments
For Gerrit Dashboard: QTBUG-128107 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
583315,5 | Replace deprecated printf calls by standard ones | dev | qt/qtapplicationmanager | Status: MERGED | +2 | 0 |
583453,2 | Replace deprecated printf calls by standard ones | 6.8 | qt/qtapplicationmanager | Status: MERGED | +2 | 0 |