# New Ticket Created by chromatic
# Please include the string: [perl #42597]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=42597 >
We need another coding standards test, this time to check that Parrot will
(likely) compile with a conformant C++ compiler.
In particular, we need to detect:
- variable declarations with name 'class'
- variable declarations with the name 'namespace'
Additionally, it would be nice to find, in .c files (not headers):
- instances of 'struct *variable_name*' (as we should use typedefs)
- occurrences of mem_sys_alloc(sizeof (*type_name*))
In headers, we should detect struct declarations without typedefs.
The C99 parser in languages/c99 might be a good start.
-- c