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

How to remove the warning 'Uncalled segment ?C_INITSEG' ?

Hello to all,

For my project, I use a my own asm file
STARTUP.A51. After having linked all the files of the project, a warning message appears 'UNCALLED SEGMENT
?C_INITSEG'. Or I do not integrate any modules which contain this code segment.
Apparently, it is incorporated by the
linker itself at the linking run-time.
I look for hints to remove this message ?

Best regards.
Jean-Luc.

Parents
  • This segment is included automatically by the C51 compiler when you create initialized global variables.

    These variables must be initialized before the program runs.

    If you link your program and the initialization code is not used, your global variables will not have the specified values.

    The easiest way to NOT get this error message is to NOT initialize any global variables.

    Jon

Reply
  • This segment is included automatically by the C51 compiler when you create initialized global variables.

    These variables must be initialized before the program runs.

    If you link your program and the initialization code is not used, your global variables will not have the specified values.

    The easiest way to NOT get this error message is to NOT initialize any global variables.

    Jon

Children
No data