Re: [Qemu-devel] [PATCH for-2.12] tests: Silence false positive warning on generated test name

2018-03-27 Thread Marc-André Lureau
On Fri, Mar 23, 2018 at 9:43 PM, Eric Blake wrote: > Running 'make check' on rawhide with gcc 8.0.1 fails: > > tests/test-visitor-serialization.c: In function 'main': > tests/test-visitor-serialization.c:1127:34: error: '/primitives/' directive > writing 12 bytes into a region of size between 1 a

[Qemu-devel] [PATCH for-2.12] tests: Silence false positive warning on generated test name

2018-03-23 Thread Eric Blake
Running 'make check' on rawhide with gcc 8.0.1 fails: tests/test-visitor-serialization.c: In function 'main': tests/test-visitor-serialization.c:1127:34: error: '/primitives/' directive writing 12 bytes into a region of size between 1 and 128 [-Werror=format-overflow=] The warning is a false po