This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Replace the block_found global with explicit data-flow
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: sellcey at imgtec dot com
- Cc: derodat at adacore dot com (Pierre-Marie de Rodat), xdje42 at gmail dot com (Doug Evans), gdb-patches at sourceware dot org (GDB Patches), palves at redhat dot com (Pedro Alves)
- Date: Mon, 3 Aug 2015 19:12:24 +0200 (CEST)
- Subject: Re: [PATCH] Replace the block_found global with explicit data-flow
- Authentication-results: sourceware.org; auth=none
Steve Ellcey wrote:
> I am seeing a different build error that I think is due to this patch.
> I only see it on an old CentOS 5.11 system with GCC 4.1.2, and only when
> I build gdb as a 32 bit executable instead of a 64 bit executable.
>
> cc1: warnings being treated as errors
> /scratch/sellcey/repos/gdb-build/src/binutils-gdb/gdb/cp-namespace.c: In function 'cp_lookup_symbol_via_imports':
> /scratch/sellcey/repos/gdb-build/src/binutils-gdb/gdb/cp-namespace.c:482: warning: 'sym.block' may be used uninitialized in this function
I've checked in a fix for that here:
https://sourceware.org/ml/gdb-patches/2015-08/msg00018.html
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com