MISRA Discussion Forums
19.4 - is typedef considered to be a type qualifier? - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4)
+--- Forum: MISRA-C: 2004 rules (https://forum.misra.org.uk/forumdisplay.php?fid=17)
+---- Forum: 6.19 Preprocessing Directives (https://forum.misra.org.uk/forumdisplay.php?fid=43)
+---- Thread: 19.4 - is typedef considered to be a type qualifier? (/showthread.php?tid=823)



19.4 - is typedef considered to be a type qualifier? - mishak - 14-04-2011

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'?


Re: 19.4 - is typedef considered to be a type qualifier? - misra-c - 25-05-2011

Yes, typedef is considered to be a storage-class specifier.