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] |
> /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; Anyway, I fixed the immediate problem by expanding the PST_PRIVATE macro into its actual definition, but without the cast. That should allow you to build again. 2004-05-03 Joel Brobecker <brobecker@gnat.com> * dwarf2read.c (dwarf2_create_include_psymtab): Fix build failure detected by recent versions of GCC. (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro to be consistent with the usage in dwarf2_create_include_psymtab. Checked in mainline. -- Joel
Attachment:
dwarf2read.c.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |