[Bug 2046] RBTree header files are not C++ compatible

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Apr 11 15:52:43 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2046

--- Comment #5 from Gedare <gedare at rtems.org> 2012-04-11 10:52:43 CDT ---
(In reply to comment #4)
> I didn't have a problem with the duplicates/unique feature.  My concern is that
> we have an enum in the SAPI and a bool in the Score for the same feature.  In
> C++ a conversion from bool to enum is not implicitly allowed.  Why do we have
> this type mismatch between the SAPI and Score APIs?

AFAIK the enum can be dropped for a bool. The mismatch slipped through initial
reviewing. I'd prefer a bool for this value. At one time there were three
options (allow_dupes, dupes_seen, no_dupes) but we pared them down to just two
(dupes/no_dupes).

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list