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

The macro __SE0ADV does not support type names that begin with underscores, such as __short32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Prioritized Not Prioritized
    • Code Generation Tools
    • CODEGEN-11194
    • Hide
      C7000_3.0.0.STS
      C7000_3.1.0.LTS
      Show
      C7000_3.0.0.STS C7000_3.1.0.LTS
    • default
    • For 3.0.0 STS and later versions of the compiler, the c7x::strm_eng and c7x::strm_agen C++ templates in c7x_scalable.h may be used for typedefs.
    • Behavior is as originally intended, so this is not a bug. Considering the issue as an enhancement, it is a duplicate of CODEGEN-9862.

      The attached test case has these lines ...

          /* ERROR */
          __short32 vIn  = __SE0ADV(__short32);
          /* OK */
          __short32 vIn2 = __SE0ADV(short32);
      

      Build it ...

      % cl7x file.cpp
      "file.cpp", line 9: error: identifier "__se_ac___short32" is undefined
      1 error detected in the compilation of "file.cpp".
      
      >> Compilation failure
      

      Similar problems are seen with the related macros __SE1ADV, __SE0, and __SE1.

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

              Created:
              Updated:
              Resolved: