This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Building Linux applications/libs in GCC emulation mode

Parents
  • Note: This was originally posted on 2nd June 2011 at http://forums.arm.com

    Hello Celavek,
    First, I can confirm you are not talking to yourself.

    Looking at your warning, I would understand that despite it, you still get a proper working code.
    The way I understand it (and I have not used DS-5 but other tools in the past) is that you have a double declaration.
    In my old programmers days (!), it meant that I didn't use the EXTERN word in the second declaration and was therefore ending with two different variables with the same name... and was getting a linker failure.
    Here, I think the linker understands that names are the same and chose one declaration over the other one.

    Have you search your project for all declarations of that symbol and is it only declared once?
    Can you still try?

    Kindly, Alban
Reply
  • Note: This was originally posted on 2nd June 2011 at http://forums.arm.com

    Hello Celavek,
    First, I can confirm you are not talking to yourself.

    Looking at your warning, I would understand that despite it, you still get a proper working code.
    The way I understand it (and I have not used DS-5 but other tools in the past) is that you have a double declaration.
    In my old programmers days (!), it meant that I didn't use the EXTERN word in the second declaration and was therefore ending with two different variables with the same name... and was getting a linker failure.
    Here, I think the linker understands that names are the same and chose one declaration over the other one.

    Have you search your project for all declarations of that symbol and is it only declared once?
    Can you still try?

    Kindly, Alban
Children
No data