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

Including stdint.h causes build time error: expected an identifier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-7320
    • ARM_18.12.2.LTS
    • default
    • User error. User re-generated his project, starting from Halcogen, and it's fine now. User has marked the forum thread as resolved.

      Build the attached file ...

      % armcl --verbose_diagnostics HL_sys_main.pp
      "HL_sys_main.pp", line 649: error: expected an identifier
        typedef       signed char             __int8_t;
        ^
      
      "HL_sys_main.pp", line 676: error: identifier "__int8_t" is undefined
        typedef       __int8_t        __int_least8_t;
                      ^
      
      "HL_sys_main.pp", line 944: error: identifier "__int8_t" is undefined
        typedef       __int8_t                int8_t;
                      ^
      
      3 errors detected in the compilation of "HL_sys_main.pp".
      
      >> Compilation failure
      

      The first diagnostic comes from a line in a file that is included by stdint.h.

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

              Created:
              Updated:
              Resolved: