[Bug 1204] sigset_t type change proposal

rtems-bugs at rtems.org rtems-bugs at rtems.org
Tue Jan 9 19:18:36 UTC 2007


joel.sherrill at oarcorp.com changed:

           What    |Removed                     |Added
                 CC|                            |ralf.corsepius at rtems.org

------- Comment #3 from joel.sherrill at oarcorp.com  2007-01-09 13:18 -------
This is obviously C++ code and you have hit on the one thing I miss from Ada. 
C++'s idea of typing is so weak that it makes overload resolution braindead.

Ralf... I am adding you because this seems like something you are knowledgeable
on. We don't want to change to more than 32-bits of POSIX signals but right now
sigset_t is typedef'ed to long.  Would changing it to uint32_t be enough to
really resolve his overloading issue?

Or does it need to change to "typedef struct { uint32_t signals; } sigset_t"?
I know the latter will involve a fair number of code changes to address.

Configure bugmail: http://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the bugs mailing list