Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-7629

Linker cannot find include file specified with relative path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-447
    • SDSCM00043868
    • Hide
      ARP32_1.0.0B1
       C6000_7.4.0B1
      Show
      ARP32_1.0.0B1  C6000_7.4.0B1
    • Hide
      ARP32_1.0.0B3
       C6000_7.4.0B2
      Show
      ARP32_1.0.0B3  C6000_7.4.0B2
    • Hide
      This bug occurs because the linker does not properly reset the source path after processing an #include, causing a second #include to be relative to the wrong path. Any intervening token between the two #include directive will overcome this, as will any macro expansion (even if empty). For example:

      #define SPACE
      #include "../first.cmd"
      SPACE
      #include "../second.cmd"
      Show
      This bug occurs because the linker does not properly reset the source path after processing an #include, causing a second #include to be relative to the wrong path. Any intervening token between the two #include directive will overcome this, as will any macro expansion (even if empty). For example: #define SPACE #include "../first.cmd" SPACE #include "../second.cmd"

      Linker cannot find include file specified with relative path

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: