1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/tflite-micro
Marian Buschsieweke 87e8ab0ecb
pkg/tflite-micro: fix compilation with GCC >= 12.x
Compare names without over-reading in `micro_allocation_info.cc`.

This fixes:

    /home/maribu/Repos/software/RIOT/build/pkg/tflite-micro/tensorflow/lite/micro/micro_allocation_info.cc: In member function 'TfLiteStatus tflite::AllocationInfoBuilder::GetOfflinePlannedOffsets(const int32_t**)':
    /home/maribu/Repos/software/RIOT/build/pkg/tflite-micro/tensorflow/lite/micro/micro_allocation_info.cc:294:18: error: 'int strncmp(const char*, const char*, size_t)' specified bound 23 exceeds source size 0 [-Werror=stringop-overread]
      294 |       if (strncmp(metadata->name()->c_str(), kOfflineMemAllocMetadata,
          |           ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      295 |                   strlen(kOfflineMemAllocMetadata)) == 0) {
          |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-11 09:01:02 +01:00
..
patches pkg/tflite-micro: fix compilation with GCC >= 12.x 2022-11-11 09:01:02 +01:00
doc.txt pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
Kconfig cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
Makefile pkg: Move versions to dedicated line 2022-09-26 17:45:54 +02:00
Makefile.dep cpu/mips: Remove all mips 2022-09-27 13:42:37 +02:00
Makefile.include pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-c.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-core-api.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-kernels-internal-reference.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-kernels-internal.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-kernels.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-micro-kernels.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-micro-memory-planner.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-micro.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00
tflite-schema.mk pkg/tflite-micro: add support for tflite-micro 2022-04-08 17:18:55 +02:00