This is the mail archive of the gdb@sourceware.org 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: GDB 6.5.90 available for testing (GDB 6.6 pre-release)


> I tried to build it on x86, FC5 with following error:

Thanks for trying it out...

> c1: warnings being treated as errors
> /home/user/gdb/6.5.90/gdb-6.5.90/gdb/p-valprint.c: In Funktion 
> »pascal_object_print_value_fields«:
> /home/user/gdb/6.5.90/gdb-6.5.90/gdb/p-valprint.c:756: Warnung: 
> »tmp_obstack.alloc_failed« könnte in dieser Funktion uninitialisiert 
> verwendet werden
> 
> <schnipp ... >
> 
> /home/user/gdb/6.5.90/gdb-6.5.90/gdb/p-valprint.c:756: Warnung: 
> »tmp_obstack.chunk_size« könnte in dieser Funktion uninitialisiert 
> verwendet werden
> make[2]: *** [p-valprint.o] Fehler 1
> make[2]: Leaving directory `/home/user/gdb/6.5.90/gdb-6.5.90/build/gdb'
> make[1]: *** [all-gdb] Fehler 2
> make[1]: Leaving directory `/home/user/gdb/6.5.90/gdb-6.5.90/build'
> make: *** [all] Fehler 2
> [user@host build]$

I don't speak German, so if you could set your environment to C,
that would help me understand the source of the problem.

A workaround for you is to build with --disable-werror.

> I checked out 6.6 branch and head some days ago, they build fine.

So we just need to isolate the patch from head that avoids the warning.

-- 
Joel


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