Hi,
As the title states, I am getting multiple declaration errors while trying to compile:
rtl.c:121:13: error: ‘BITS_PER_UNIT’ undeclared here (not in a function)
121 | ((SIZE) * BITS_PER_UNIT >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT)0 : ((unsigned HOST_WIDE_INT) 1 << (SIZE) * BITS_PER_UNIT) - 1,
machmode.h:35:32: error: ‘HOST_BITS_PER_INT’ undeclared here (not in a function); did you mean ‘HOST_BITS_PER_WIDE_INT’?
35 | #define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_INT
system.h:353:8: error: ‘FATAL_EXIT_CODE’ undeclared (first use in this function)
353 | exit (FATAL_EXIT_CODE))
These are just a few I'm getting, if I fix these (either by re declaring or including the files that contain the declarations) I get more of these, until eventually I get an undefined FIRST_PSEUDO_REGISTER error, while looking for its declaration, I see there are multiple:
This leads me to believe that this is not the proper approach to fix these issues. Do you know if I'm doing something wrong or missing something? I already applied the patch provided in #68, which solved the function pointer issues.
My system is running Arch Linux and has the following package versions:
Hi, As the title states, I am getting multiple declaration errors while trying to compile:
These are just a few I'm getting, if I fix these (either by re declaring or including the files that contain the declarations) I get more of these, until eventually I get an undefined
FIRST_PSEUDO_REGISTER
error, while looking for its declaration, I see there are multiple:This leads me to believe that this is not the proper approach to fix these issues. Do you know if I'm doing something wrong or missing something? I already applied the patch provided in #68, which solved the function pointer issues.
My system is running Arch Linux and has the following package versions: