cocoa: Provide central qemu_main() prototype
This fixes a missing prototype warning in vl.c and obsoletesthe prototype in cocoa.m. Adjust callers in cocoa.m to supplythird argument, which is currently only used on Linux/ppc.
The prototype is designed so that it could be shared with SDL...
cocoa: Revert dependency on VNC
In 821601ea5b02a68ada479731a4d3d07a9876632a (Make VNC support optional)cocoa.o was moved from ui-obj-$(CONFIG_COCOA) to vnc-obj-$(CONFIG_COCOA),adding a dependency on $(CONFIG_VNC). That must've been unintentional.
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>...
cocoa: Avoid warning related to multiple handleEvent: definitions
Avoid compiler confusion as to which method signature to use for thehandleEvent: selector on OSX >= 10.6 by making the variable type-safeas opposed to generic 'id' type.Requires moving the variable definition to after the class definition....
Cocoa: avoid displaying window when command-line contains '-h' or '-help'
There was already a check in place to avoid displaying a windowin certain modes such as vnc, nographic or curses.
Add a check for '-h' and '-help' to avoid displaying a window for a split-...
Remove warning in printf due to type mismatch
----8<----qemu/target-lm32/translate.c: In function ‘gen_intermediate_code_internal’:qemu/target-lm32/translate.c:1135: warning: format ‘%zd’ expects type ‘signed size_t’, but argument 4 has type ‘int’----8<----...
configure: Fix check for fdatasync()
Under Darwin, a symbol exists for the fdatasync() function, so that ourlink test succeeds. However _POSIX_SYNCHRONIZED_IO is set to '-1'.
According to POSIX:2008, a value of -1 means the feature is not supported.A value of 0 means supported at compilation time, and a value greater 0...
Fix libfdt warnings on Darwin
Building with libfdt results in the following warnings on Mac OS X:
CC ppc-softmmu/device_tree.oIn file included from /Users/andreas/QEMU/latest64/include/libfdt.h:54, from /Users/andreas/QEMU/qemu/device_tree.c:26:...
cocoa: do not create a spurious window for -version
When invoked with -version, qemu will exit just after displaying the version,so there is no need to create a window.Also handles --XXX options.
Signed-off-by: Tristan Gingold <gingold@adacore.com>Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Fix compilation warning due to incorrectly specified type
In audio/coreaudio.c, a variable named "str" was assigned "const char" values,which resulted in the following warnings:
-----8<-----audio/coreaudio.c: In function ‘coreaudio_logstatus’:audio/coreaudio.c:59: warning: initialization discards qualifiers from pointer target type...
configure: Detect and don't try to use older libcurl
Older versions of libcurl don't have some of the features we try touse, in particular curl_multi_setopt(). Check for this in the 'islibcurl available?' configure test so we disable curl support if the...
View all revisions | View revisions
Also available in: Atom