bug-vcdimager
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VCDImager Bugs/Devel] problem in build of vcdimager


From: jonathan jefferies
Subject: [VCDImager Bugs/Devel] problem in build of vcdimager
Date: Fri, 20 Feb 2004 22:55:06 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Downloaded the latest vcdimager sources and building
on RedHat 9.0 using gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
and got the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wunused -Wall -Wmissing-prototypes -Wunused -Wpointer-arith -Wwrite-strings -c vcd.c
In file included from vcd.c:39:
vcd_files_private.h:364: flexible array member in otherwise empty struct
vcd_files_private.h:446: flexible array member in otherwise empty struct
vcd_files_private.h:467: flexible array member in otherwise empty struct

which I traced in vcd_files_private.h to the statement
   362 typedef struct {
   363   /* TracksSVD tracks_svd; */
364 SVDTrackContent contents[EMPTY_ARRAY_SIZE] GNUC_PACKED; /* indicates track */

which apparently is a complaint about EMPTY_ARRAY_SIZE being null
when EMPTY_ARRAY_SIZE is defined in config.h as

/* what to put between the brackets for empty arrays */
#define EMPTY_ARRAY_SIZE 1

the reported error goes away but I am concerned about the possible implications.
Could you comment?

J. Jefferies









reply via email to

[Prev in Thread] Current Thread [Next in Thread]