-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
Bug is :
For an array of function pointers, the following errors are cleared depending on the type:
Erroneous code
Please use markdown to send the code here.
int ft_printf(const char *format, ...)
{
size_t count;
va_list args;
int fd;
int (*ft_format[127])(va_list, int);
count = 0;
va_start(args, format);
ft_initformat(ft_format);no error with int :
int ft_printf(const char *format, ...)
{
size_t count;
va_list args;
int fd;
int (*ft_format[127])(va_list, int);
count = 0;
va_start(args, format);
ft_initformat(ft_format);
etc..
Error :
Error: NL_AFTER_VAR_DECL (line: 41, col: 1): Variable declarations must be followed by a newline
Error: TAB_INSTEAD_SPC (line: 41, col: 11): Found tab when expecting space
Error: EMPTY_LINE_FUNCTION (line: 42, col: 1): Empty line in function
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels