Knowledge Base Article
Why does Ashling* RiscFree* IDE for Altera FPGAs software version 25.4.1 turns compiler warnings into errors?
Description
In the Ashling* RiscFree* IDE for Altera FPGAs software version 25.4.1 (31st Oct 2025) and later, you might see compilation error related to the following errors:
-
Implicit int types (-Werror=implicit-int)
-
Implicit function declarations (-Werror=implicit-function-declaration)
-
Typos in function prototypes (-Werror=declaration-missing-parameter-type)
-
Incorrect uses of the return statement (-Werror=return-mismatch)
-
Using pointers as integers and vice versa (-Werror=int-conversion)
-
Type checking on pointer types (-Werror=incompatible-pointer-types)
This is due to an update in GCC 14 – GNU: Certain warnings are now errors, which affects future GCC versions.
For more information,
- Ashling* RiscFree* IDE for Altera FPGAs software version 25.3.1 (1st August 2025) is using GCC 13.2.
- Ashling* RiscFree* IDE for Altera FPGAs software version 25.4.1 (31st Oct 2025) is using GCC 15.2.
Thus, Ashling* RiscFree* IDE for Altera FPGAs software version 25.4.1 (31st Oct 2025) and future versions are affected.
Note that Ashling* RiscFree* IDE for Altera FPGAs software version 25.4.1 (31st Oct 2025) is paired with Quartus® Prime Pro Edition software version 26.1.
Resolution
GNU recommends resolving all the new errors for better code quality.
If necessary, you may refer to the workaround – GNU: Turning errors back into warnings.
In Board Support Package Editor, add "-fpermissive" in hal.make.cflags_user_flags.