Displaying 1 result from an estimated 1 matches for "ocbd0spt9uhzkbmo".
2010 Feb 05
1
-Woverlength-strings / assert unhelpful interaction
$ gcc -O2 -c -Woverlength-strings stupid.c
stupid.c: In function ?insert_lf_record?:
stupid.c:22: warning: string length ?7394? is greater than the length ?509? ISO C90 compilers are required to support
Without -O2 the error message goes away.
Even ISO C99 compilers don't help - they raise the limit to a mere
4095 bytes.
Rich.
--
Richard Jones, Virtualization Group, Red Hat