This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos 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]

[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.


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