Closed dzid26 closed 6 months ago
Allow gcc's (and compatible compilers) __typeof__ extension for type safety and concise code.
__typeof__
Btw, C23 has typeof natively, but cppcheck doesn't support yet - according to the manual.
typeof
Links https://github.com/commaai/panda/issues/1954 https://github.com/commaai/panda/issues/1794 https://github.com/commaai/panda/pull/1926
Allow gcc's (and compatible compilers)
__typeof__
extension for type safety and concise code.Btw, C23 has
typeof
natively, but cppcheck doesn't support yet - according to the manual.Links https://github.com/commaai/panda/issues/1954 https://github.com/commaai/panda/issues/1794 https://github.com/commaai/panda/pull/1926