This is the mail archive of the gdb-patches@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: [msys+mingw] build error [-Werror=uninitialized]


On 2012-3-16 15:24, Yao Qi wrote:
I didn't see any other errors.  What error did you see even after you
setting `addr' to 0?
See:

TRY_CATCH (ex, RETURN_MASK_ERROR)
    {
      addr = value_as_address (vfn);
    }
Which means addr is set before passed to print_function_pointer_address() call.
So I'm not sure why gcc report such warning.

Yuanhui Zhang




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