-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
Describe the bug
Whenever including the float.h header in a .h file, even following the Norm guidelines, an error pops up with "norminette: Invalid file argument for #include directive". However, when defining my variables as macros, norminette stops complaining
Erroneous code
#ifndef FDF_H
# define FDF_H
# ifndef WEIGHT
# define HEIGHT 1080
# ifndef WIDTH
# define WIDTH 1920
# endif
# endif
# include "mlx_linux/mlx.h"
# include "libft/libft.h"
# include <X11/keysym.h>
# include <stdlib.h>
# include <float.h>
# include <fcntl.h>
# include <math.h>
#endifAdditional infos
"Error: Invalid file argument for #include directive"
Additional context
Got fixed when defining the macros I needed (FLT_MIN, FLT_MAX)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels