From d9568c717de8ec53445bad00be73133f1a110317 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Sun, 31 Mar 2019 01:35:03 -0700 Subject: [PATCH] Silencing -Wstack-protector (#2459) --- imgui_draw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui_draw.cpp b/imgui_draw.cpp index 06340c07..dcdf0e3f 100644 --- a/imgui_draw.cpp +++ b/imgui_draw.cpp @@ -73,6 +73,7 @@ Index of this file: #pragma GCC diagnostic ignored "-Wunused-function" // warning: 'xxxx' defined but not used #pragma GCC diagnostic ignored "-Wdouble-promotion" // warning: implicit conversion from 'float' to 'double' when passing argument to function #pragma GCC diagnostic ignored "-Wconversion" // warning: conversion to 'xxxx' from 'xxxx' may alter its value +#pragma GCC diagnostic ignored "-Wstack-protector" // warning: stack protector not protecting local variables: variable length buffer #if __GNUC__ >= 8 #pragma GCC diagnostic ignored "-Wclass-memaccess" // warning: 'memset/memcpy' clearing/writing an object of type 'xxxx' with no trivial copy-assignment; use assignment or value-initialization instead #endif