|
From: Julian S. <js...@ac...> - 2015-03-27 17:11:22
|
Making all in gdbserver_tests
Making all in memcheck/tests/vbit-test
irops.c:1053:12: error: size of array 'ensure_complete' is negative
extern int ensure_complete[
^
Makefile:720: recipe for target 'vbit_test-irops.o' failed
make[2]: *** [vbit_test-irops.o] Error 1
/me thinks .. Uh huh .. Florian has been doing home-grown static
asserts :-)
This is good.
Except, there are dozens of places where I would like to have static asserts
generally available. Insanely enough, there is, in include/vki/vki-linux.h,
a definition of VKI_STATIC_ASSERT. Maybe we should pull it out, rename it
VG_STATIC_ASSERT, and make it generally available. What do you think?
J
|