RTEMS_DECONST - Should it be removed?

Martin Galvan martin.galvan at tallertechnologies.com
Wed Jan 14 17:27:41 UTC 2015


Hi everyone! We're currently working on improving the TMS570 BSP, and
in the process we discovered an important bug caused by a misuse of
the RTEMS_DECONST macro. Said macro seems to be used in a few other
places throughout the code to bypass const restrictions.

What's the purpose of having something like this in the codebase?
Should it be removed to maintain const-correctness throughout the
code?

-- 

Martín Galván

Software Engineer

Taller Technologies Argentina

San Lorenzo 47, 3rd Floor, Office 5

Córdoba, Argentina

Phone: 54 351 4217888 / +54 351 4218211


More information about the devel mailing list