When I build a software project with the Nios II Software Build Tool, the following warning is displayed.
Nios II
Warning: type defaults to 'int' in declaration of 'context' implicit declaration of function 'alt_irq_register'
Tool: Nios® II Software Build Tool (Nios II SBT)
Category: Nios II
Open system.h generated in the project folder,
#define ALT_ENHANCED_INTERRUPT_API_PRESENT
Comment out the
Add the following instead:
#define ALT_LEGACY_INTERRUPT_API_PRESENT
Please confirm that Warning is not displayed at the next build.
Experienced FAE
Free consultation is available.
From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.