Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt for MCUs 2.6, Qt fo MCUs 2.5.2
-
None
Description
Building with GCC 12.x produces some compiler and linker warnings:
/home/srodal/dev/qul/src/platforminterface/pathdatastroker.cpp: In member function 'std::pair<Qul::PlatformInterface::PointF, Qul::PlatformInterface::PointF> Qul::PlatformInterface::PathDataStroker::PathDataIterator::fromTo() c onst': /home/srodal/dev/qul/src/platforminterface/pathdatastroker.cpp:376:71: note: parameter passing for argument of type 'std::pair<Qul::PlatformInterface::PointF, Qul::PlatformInterface::PointF>' when C++17 is enabled changed to ma tch C++14 in GCC 10.1 376 | std::pair<PointF, PointF> PathDataStroker::PathDataIterator::fromTo() const [ 80%] Linking CXX executable ../../Release/thermo_small.elf /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/ gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+dp/hard/libc_nano.a(libc_a-closer.o): in function `_close_r': closer.c:(.text._close_r+0xc): warning: _close is not implemented and will always fail /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/ gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+dp/hard/libc_nano.a(libc_a-fstatr.o): in function `_fstat_r': fstatr.c:(.text._fstat_r+0xe): warning: _fstat is not implemented and will always fail /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/ gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+dp/hard/libc_nano.a(libc_a-signalr.o): in function `_getpid_r': signalr.c:(.text._getpid_r+0x0): warning: _getpid is not implemented and will always fail /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/ gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+dp/hard/libc_nano.a(libc_a-isattyr.o): in function `_isatty_r': isattyr.c:(.text._isatty_r+0xc): warning: _isatty is not implemented and will always fail /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/ gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+dp/hard/libc_nano.a(libc_a-signalr.o): in function `_kill_r': signalr.c:(.text._kill_r+0xe): warning: _kill is not implemented and will always fail /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/ gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+dp/hard/libc_nano.a(libc_a-lseekr.o): in function `_lseek_r': lseekr.c:(.text._lseek_r+0x10): warning: _lseek is not implemented and will always fail /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/bin/ld: /home/srodal/toolchains/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin/../lib/ gcc/arm-none-eabi/12.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m+dp/hard/libc_nano.a(libc_a-readr.o): in function `_read_r': readr.c:(.text._read_r+0x10): warning: _read is not implemented and will always fail In function 'mi_fh_get_bytes', inlined from 'getAdvanceCCC' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:91:9, inlined from 'get_advance_width' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_outline.c:221:16: /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_fonthandle.c:120:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 120 | *bytes++ = *ptr++; | ^ /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c: In function 'get_advance_width': /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:37:13: note: at offset 5 into destination object 'MemTemp' of size 5 37 | MiUInt8 MemTemp[5] = {0}; | ^ In function 'mi_fh_get_bytes', inlined from 'getAdvanceCCC' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:91:9, inlined from 'get_advance_width' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_outline.c:221:16: /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_fonthandle.c:120:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 120 | *bytes++ = *ptr++; | ^ /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c: In function 'get_advance_width': /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:37:13: note: at offset [6, 7] into destination object 'MemTemp' of size 5 37 | MiUInt8 MemTemp[5] = {0}; | ^ In function 'mi_fh_get_bytes', inlined from 'getAdvanceCCC' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:69:9, inlined from 'get_advance_width' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_outline.c:221:16: /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_fonthandle.c:120:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 120 | *bytes++ = *ptr++; | ^ /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c: In function 'get_advance_width': /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:37:13: note: at offset 5 into destination object 'MemTemp' of size 5 37 | MiUInt8 MemTemp[5] = {0}; | ^ In function 'mi_fh_get_bytes', inlined from 'getAdvanceCCC' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:69:9, inlined from 'get_advance_width' at /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_outline.c:221:16: /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_fonthandle.c:120:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 120 | *bytes++ = *ptr++; | ^ /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c: In function 'get_advance_width': /home/srodal/dev/qul/src/3rdparty/monotype/itypespark/product/source/common/mi_ccc.c:37:13: note: at offset [6, 7] into destination object 'MemTemp' of size 5 37 | MiUInt8 MemTemp[5] = {0}; | ^ In member function 'fromTo': lto1: note: parameter passing for argument of type 'struct pair' when C++17 is enabled changed to match C++14 in GCC 10.1 In member function 'processPathData', inlined from 'stroke' at /home/srodal/dev/qul/src/platforminterface/pathdatastroker.cpp:592:46, inlined from 'strokePathData' at /home/srodal/dev/qul/src/graphics/vg_softwarerasterizer/outlinemapper.cpp:148:19, inlined from 'mapPathToOutline' at /home/srodal/dev/qul/src/graphics/vg_softwarerasterizer/outlinemapper.cpp:160:34: /home/srodal/dev/qul/src/platforminterface/pathdatastroker.cpp:627:71: note: parameter passing for argument of type 'struct pair' when C++17 is enabled changed to match C++14 in GCC 10.1 627 | std::pair<PointF, PointF> controlPoints = it.controlPoints(); | [100%] Built target thermo_small
Attachments
Issue Links
- mentioned in
-
Page Loading...