Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Nios II Eclipse warning

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.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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.