[regressions in GCC/libjava testsuite] Re: Patch to make bfd compile with -Wc++-compat

Dave Korn dave.korn.cygwin@googlemail.com
Thu Oct 1 00:34:00 GMT 2009


Martin Thuresson wrote:

> +  void *minisyms = &syms;

> -  symcount = bfd_read_minisymbols (abfd, FALSE, (void *) &syms, &size);
> +  symcount = bfd_read_minisymbols (abfd, FALSE, &minisyms, &size);


  You have effectively replaced &syms by &&syms in what you pass to
bfd_read_minisymbols.


    cheers,
      DaveK



More information about the Binutils mailing list