This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/18015] New: ld/testplug2.c:605]: (warning) Calling 'sizeof' on 'sizeof'.
- From: "dcb314 at hotmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 24 Feb 2015 13:59:05 +0000
- Subject: [Bug gdb/18015] New: ld/testplug2.c:605]: (warning) Calling 'sizeof' on 'sizeof'.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18015
Bug ID: 18015
Summary: ld/testplug2.c:605]: (warning) Calling 'sizeof' on
'sizeof'.
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: dcb314 at hotmail dot com
Source code is
|| SIZE_OF_FUNC_C < sizeof EXPECTED_VIEW_LENGTH
but
#define EXPECTED_VIEW_LENGTH (sizeof (EXPECTED_VIEW) - 1)
Maybe
|| SIZE_OF_FUNC_C < EXPECTED_VIEW_LENGTH
would be better code.
--
You are receiving this mail because:
You are on the CC list for the bug.