string length is greater than ISO C99 compilers are required to support
I am compiling resource source file with -Werror
cc - -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -g -Wall -g -O2 -pthread : warning: string length ‘7458’ is greater than the length ‘4095’ ISO C99 compilers are required to support [-Woverlength-strings]
"\171\051" };
^~~~~~~~~~
and of course my buffer has length of 7459.
#ifdef _MSC_VER
static const SECTION union { const guint8 data[7459]; const double alignment; void * const ptr;} my_resource_data = { {
...
Tested on gcc 8.2.0 (Debian)