MISRA Discussion Forums

Full Version: 19.4 - is typedef considered to be a type qualifier?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The C standard states that "The typedef specifier is called a ‘‘storage-class specifier’’ for syntactic convenience only;".

Does 19.4 allow a macro to expand to 'typedef'?
Yes, typedef is considered to be a storage-class specifier.