Re: [RFC] Replace complain() with complaint()

Andrew Cagney
2002-12-13T20:22:33Z

> - complain (&anon_block_end_complaint, BLOCK_END (block), BLOCK_START (block));
> + complaint (&symfile_complaints,
> + "block end address 0x%lx less than block start address 0x%lx (patched it)",
> + BLOCK_END (block), BLOCK_START (block));

Hmm, I don't think that is right. It should have attacted a -Wformat
warning as block start/end are core-addrs. From memory though, a native
i386 build has CORE_ADDR as a long which might explain why you don't see
the warning.

Puzzled.

Andrew