summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/files/1803872
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/gemma3:12b/files/1803872')
-rw-r--r--results/classifier/gemma3:12b/files/180387217
1 files changed, 17 insertions, 0 deletions
diff --git a/results/classifier/gemma3:12b/files/1803872 b/results/classifier/gemma3:12b/files/1803872
new file mode 100644
index 00000000..6ec1301f
--- /dev/null
+++ b/results/classifier/gemma3:12b/files/1803872
@@ -0,0 +1,17 @@
+
+gcc 8.2 reports stringop-truncation when building qemu
+
+QEMU 3.0
+
+block/sheepdog.c: In function 'find_vdi_name':
+block/sheepdog.c:1239:5: error: 'strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation]
+     strncpy(buf + SD_MAX_VDI_LEN, tag, SD_MAX_VDI_TAG_LEN);
+     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+
+If this is the intended behavior, please suppress the warning. For example:
+
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstringop-truncation"
+    strncpy(buf + SD_MAX_VDI_LEN, tag, SD_MAX_VDI_TAG_LEN);
+#pragma GCC diagnostic pop
\ No newline at end of file