Corewar icon indicating copy to clipboard operation
Corewar copied to clipboard

intmax_t issue upon compilation

Open newtonharry opened this issue 7 years ago • 1 comments

I am currently running an installation of Arch Linux and uppon compilation of the project, I run into the error of: error: unknown type name ‘intmax_t’ I recursivley greped your the directory and found no where the included file inttypes.h, which is what arch linux requries in order to compile. I used this command to find the files which are having this error: make 2>&1 | grep -Eo '[a-zA-Z_]+.(c|h)' | sort -u

These are the results: ft_atoi_base.c ft_atoi.c ft_atoi_calc.c ft_atoi_long.c ft_atoli.c ft_base.c ft_bzero.c ft_chars.c ft_converttype.c ft_error_handle.c ft_extra_atoi_base.c ft_isalnum.c ft_itoa.c ft_memalloc.c ft_memmove.c ft_parser.c ft_print.h ft_printwchar.c ft_putchar.c ft_putendl.c ft_putendl_fd.c ft_putnbr.c ft_putnbr_fd.c ft_putstr.c ft_putstr_fd.c ft_strcat.c ft_strchr.c ft_strcmp.c ft_strcpy.c ft_strdup.c ft_strequ.c ft_strings.c ft_strjoin.c ft_strlcat.c ft_strmap.c ft_strmapi.c ft_strncat.c ft_strncmp.c ft_strncpy.c ft_strnequ.c ft_strnew.c ft_strnstr.c ft_strrchr.c ft_strsplit.c ft_strstr.c ft_strsub.c ft_strtrim.c ft_wstrings.c get_next_line.c get_next_line_dr.c libft.h main.c

newtonharry avatar May 30 '17 11:05 newtonharry

@ImAWizardLizard Thanks for submitting an issue and for the finding where the errors are. I don't have the bandwidth to solve this at the moment. If you find a solution, please make a commit and I'll merge it. 🙌🏼

emilwallner avatar May 31 '17 21:05 emilwallner