emilwallner / Corewar

A reproduction of the Core War game. Assembly compiler, Virtual Machine and GUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

intmax_t issue upon compilation

newtonharry opened this issue · 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

@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. 🙌🏼