Closed harsssh closed 7 months ago
This is a TODO marked in the code: https://github.com/42School/norminette/blob/7de5543e6e7b5f558d2ee5d1189a3d9c139621f2/norminette/rules/is_preprocessor_statement.py#L205
To fix it you can just put "FLOAT"
and "INT"
in the following tuple:
https://github.com/42School/norminette/blob/7de5543e6e7b5f558d2ee5d1189a3d9c139621f2/norminette/rules/is_preprocessor_statement.py#L41-L48
Describe the bug The error message "Invalid file argument for #include directive" occurs in code that includes
float.h
.Erroneous code
Additional infos
Additional context The error also occurs when the header name contains a type name, as in the case of
#include <int>
.