On Tuesday 15 November 2005 14:50, Dave Feustel wrote:
> I am making progress as I modify the Qemu source code to work
> around a number of OpenBSD deficiencies. I don't yet know how
> to fix the following problem which occurs about 25 times in op.h:
>
> C statements of the form
>
>    *(uint32_t *)(gen_code_ptr + 210) = (long)(&) + 14;
>
> generate syntax errors (apparently because of the use of "(&)")
> with the c compiler used in OpenBSD 3.7 (gcc (GCC) 3.3.5 (propolice)).
>
> Similar statements with a symbol following the "&" (eg "(&xyz)") do not
> generate syntax errors. Has this been seen before? Is there a fix?

Make sure you disable any stack protection systems (ProPolice, SSP, etc) when 
compiling op.c.

Paul


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to