This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC/dwarf-2] Add support for included files


On May 3, 2004, at 20:15, Joel Brobecker wrote:

/home/gates/pinskia/src/gnu/combinesources/src/gdb/dwarf2read.c: In
function `dwarf2_create_include_psymtab':
/home/gates/pinskia/src/gnu/combinesources/src/gdb/dwarf2read.c:1244:
error: invalid lvalue in assignment

Sorry about that, this error didn't show up with the compiler I used. I just built one straight from mainline and could reproduce the error. Apparently, expressions like this are not legal?

(char *) something = NULL;

Yes that is invalid C, it was deprecated in 3.4.0 (which warns about the usage) and removed on the mainline.

Thanks for fast fixing the problem.

-Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]