[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] use stdio.h
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] use stdio.h |
Date: |
Mon, 24 Apr 2006 16:08:58 +0100 |
User-agent: |
KMail/1.9.1 |
> >> Make dyngen-exec.h include <stdio.h> which is more portable than the
> >> local definitions.
> >
> > I believe dyngen-exec.h deliberately doesn't include stdio.h because it
> > conflicts with the local register variables on some hosts.
>
> Ah, I thought there's got to be an explanation... Should be added though to
> dyngen-exec.h to avoid future patches from wise-guys like myself :-)
From the top of that file:
/* NOTE: standard headers should be used with special care at this
point because host CPU registers are used as global variables. Some
host headers do not allow that. */
Paul