Re: Sparse warning: "initializer entry defined twice"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Américo Wang
Date: Thursday, May 6, 2010 - 11:11 pm

On Thu, May 06, 2010 at 06:43:10PM -0500, Steve French wrote:

Hmm, looks weird, sparse doesn't understand bool well?

Can you construct a small C program to show this? Something like:

typedef _Bool bool;
enum {
     false = 0,
     true = 1
};

static const bool foo[10] = {
       true,
       true,
       false,
       false,
};
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Sparse warning: "initializer entry defined twice", Américo Wang, (Thu May 6, 11:11 pm)