Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12367 Discussions

Implicit declaration of function 'alt_irq_register warning

IOzan
Beginner
705 Views

Hi,

I'm trying to invoke an interrupt for some buttons on my DE2-115 EVM but I constantly getting the following warning (not error) about the 'alt_irq_register' command: 

                            

Description: Implicit declaration of function 'alt_irq_register' [-Wimplicit-function-declaration]              

]Resource: hello_world.c, Path: /Interrupt_sw, Location: line 200, Type: C/C++ Problem]

 

I did (attached herewith) almost exactly as written in the C Example in the " Nios II Software Developer’s Handbook"," Chapter 8: Exception Handling", pages: 8-6 and 8-7.

 

What could possibly be the reason for that warning? (Again, I did exactly as Altera's example…)

Idan

  

0 Kudos
2 Replies
Ahmed_H_Intel1
Employee
410 Views

Hi,

I believe this warning shouldn't appear.

Is your code running as expected? or this warning affects the code?

 

IOzan
Beginner
410 Views

Hi,

Yes. the code is running as expected but with the warning.

Can/ Should I do somthing to make this warning disappear?

Thanks,

Idan

Reply