Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21604 Discussions

Nios II Eclipse warning

Altera_Forum
Honored Contributor II
1,530 Views

Hellow, 

 

So, my problem is as follows. 

 

I get this warning : taking address of expression of type 'void' [enabled by default]  

 

about 9 times, and it points to the alt_load.c file 

 

does anyone know how to fix it? 

 

it does not interrupt my compiling, and the code works, but still, maybe later i will have problems with it. 

 

Please help if you can, and thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
806 Views

Hi, 

 

I am also getting this warning when I transferred my project to Q13.1. This warning is not present in 12.0 Quartus and NIOS SDK. 

Enabling all options @ BSP settings --> Advanced --> HAL --> linker (tick all the 5 boxes), seem to have cleared this warning. I am not sure how this makes a difference in Q13.1!. In 12.0 only 2 nd and 4th options were set by default. 

Hope this helps.
0 Kudos
Altera_Forum
Honored Contributor II
806 Views

 

--- Quote Start ---  

Hellow, 

 

So, my problem is as follows. 

 

I get this warning : taking address of expression of type 'void' [enabled by default]  

 

about 9 times, and it points to the alt_load.c file 

 

does anyone know how to fix it? 

 

it does not interrupt my compiling, and the code works, but still, maybe later i will have problems with it. 

 

Please help if you can, and thanks. 

--- Quote End ---  

 

 

I have the same warnings when transfer a project in Quartus 13 to 13.1. Don't know why.
0 Kudos
Reply