qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Suramya Shah <shah.suramya@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [[PATCH-2]] Removed support for DEPTH!=32 in sm501.c
Date: Mon, 27 Feb 2017 16:25:04 +0000	[thread overview]
Message-ID: <CAFEAcA-txbw4jQb8+eo=A8AdQveLkQVN7qeh2StLsDveX6PSmw@mail.gmail.com> (raw)
In-Reply-To: <20170227160118.3557-1-shah.suramya@gmail.com>

On 27 February 2017 at 16:01, Suramya Shah <shah.suramya@gmail.com> wrote:
> Signed-off-by: Suramya Shah <shah.suramya@gmail.com>
> ---
>  hw/display/sm501.c | 17 -----------------
>  1 file changed, 17 deletions(-)
>
> diff --git a/hw/display/sm501.c b/hw/display/sm501.c
> index 040a0b9..faca906 100644
> --- a/hw/display/sm501.c
> +++ b/hw/display/sm501.c
> @@ -1173,23 +1173,6 @@ typedef void draw_line_func(uint8_t *d, const uint8_t *s,
>  typedef void draw_hwc_line_func(SM501State * s, int crt, uint8_t * palette,
>                                  int c_y, uint8_t *d, int width);
>
> -#define DEPTH 8
> -#include "sm501_template.h"
> -
> -#define DEPTH 15
> -#include "sm501_template.h"
> -
> -#define BGR_FORMAT
> -#define DEPTH 15
> -#include "sm501_template.h"
> -
> -#define DEPTH 16
> -#include "sm501_template.h"
> -
> -#define BGR_FORMAT
> -#define DEPTH 16
> -#include "sm501_template.h"
> -
>  #define DEPTH 32
>  #include "sm501_template.h"

Surely this code can't compile either? You've removed the definitions
of the draw_line8_8, draw_line8_15, etc functions but not their uses
later in this file.

I think you need to make sure that you have a setup that is compiling
the code changes that you make. Check that if you put an obvious
syntax error into the sm501.c file that it causes the build to fail.
(If it doesn't then you've probably not passed arguments to configure
to enable the sh4 target that uses this device.)

thanks
-- PMM

  reply	other threads:[~2017-02-27 16:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-27 16:01 [Qemu-devel] [[PATCH-2]] Removed support for DEPTH!=32 in sm501.c Suramya Shah
2017-02-27 16:25 ` Peter Maydell [this message]
2017-02-27 16:27 ` no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFEAcA-txbw4jQb8+eo=A8AdQveLkQVN7qeh2StLsDveX6PSmw@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=shah.suramya@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).