This is the mail archive of the
ecos-bugs@sources.redhat.com
mailing list for the eCos project.
[Bug 1000039] New: CYG_CLASSFROMBASE et al redundant
- From: bugzilla at ecoscentric dot com
- To: ecos-bugs at sources dot redhat dot com
- Date: Mon, 4 Aug 2003 15:27:56 +0100 (BST)
- Subject: [Bug 1000039] New: CYG_CLASSFROMBASE et al redundant
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000039
Summary: CYG_CLASSFROMBASE et al redundant
Product: eCos
Version: CVS
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: low
Component: Kernel
AssignedTo: jifl@ecoscentric.com
ReportedBy: jifl@ecoscentric.com
QAContact: ecos-bugs@sources.redhat.com
The kernel defines some macros in kernel/current/include/ktypes.h:
CYG_CLASSFROMFIELD, CYG_OFFSETOFBASE, CYG_CLASSFROMBASE.
After some internal discussion (in eCosCentric) we're agreed that these macros
are now redundant, and should in the first instance just be rewritten to use
static_cast<>. Or for the diligent, all users of those macros should be changed
to use static_cast<> directly.
Note these macros are also defined in infra/current/include/clist.hxx and want
changing there too.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.