Message ID | cover.1430370396.git.mjt@msgid.tls.msk.ru |
---|---|
State | New |
Headers | show |
On 30 April 2015 at 06:08, Michael Tokarev <mjt@tls.msk.ru> wrote: > Hello. > > This is the first pull request for trivial-patches tree since 2.3 has > been released. During the freeze many patches has been accumulated, > and even more has been received after 2.4 developmnent has been opened. > > So here we have 42 trivial patches, which is kinda too much, but that's > what we have :) > > Please consider applying. > > Thanks, > > /mjt > > The following changes since commit a9392bc93c8615ad1983047e9f91ee3fa8aae75f: > > Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2015-04-28 16:55:03 +0100) > > are available in the git repository at: > > git://git.corpit.ru/qemu.git tags/pull-trivial-patches-2015-04-30 > > for you to fetch changes up to fe31d3e6e6945b509e5b4ab03d38aae1266fe64e: > > microblaze: fix memory leak (2015-04-30 08:06:20 +0300) > > ---------------------------------------------------------------- > trivial patches for 2015-04-30 Hi. I'm afraid this fails to build the tests on OSX: CC tests/i440fx-test.o /Users/pm215/src/qemu/tests/i440fx-test.c:229:21: warning: implicit declaration of function 'ARRAY_SIZE' is invalid in C99 [-Wimplicit-function-declaration] for (i = 0; i < ARRAY_SIZE(pam_area); i++) { ^ 1 warning generated. LINK tests/i440fx-test Undefined symbols for architecture x86_64: "_ARRAY_SIZE", referenced from: _test_i440fx_pam in i440fx-test.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [tests/i440fx-test] Error 1 'i440fx-test: remove ARRAY_SIZE redefinition' has removed this macro, but this test file doesn't include osdep.h so it presumably works on Linux only because we're picking something up from a system header file somewhere... -- PMM
30.04.2015 15:58, Peter Maydell wrote: [] > Hi. I'm afraid this fails to build the tests on OSX: > CC tests/i440fx-test.o > /Users/pm215/src/qemu/tests/i440fx-test.c:229:21: warning: implicit declaration > of function 'ARRAY_SIZE' is invalid in C99 So much for trivial ;) Let's remove this one and add another tiny dead code removal patch instead, which went in meanwhile, to complete half-removal of unused functions. I'll resend another pull request in a moment. Thanks, and sorry for the noize. I wanted to verify if this array_size definition is really unnecessary here but something distracted me. /mjt