bool and _Bool are not defined correctly in strict ANSI C mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-553
    • SDSCM00045417
    • Hide
      C6000_7.4.0B1
      ARP32_1.0.0B1
      Show
      C6000_7.4.0B1 ARP32_1.0.0B1
    • Hide
      ARP32_1.0.3
      C6000_7.4.7
      Show
      ARP32_1.0.3 C6000_7.4.7
    • Hide
      The compiler and library now agree on a single definition of bool and
      _Bool in all modes; its format is equivalent to "unsigned char."
      Unfortunately, this represents a backward incompatibility with older
      object files which match all of these conditions:

      - C source code
      - includes stdbool.h
      - compiled in strict C89 mode (the default in older compilers)
      - module interface uses type _Bool or bool (i.e. a global variable,
        function argument, or function return value of type derived from
        bool, or struct containing a type derived from bool.)

      To work around the problem, either recompile with the latest version
      of the compiler, or ensure that you aren"t using any _Bool or bool
      objects in the module interface.
      Show
      The compiler and library now agree on a single definition of bool and _Bool in all modes; its format is equivalent to "unsigned char." Unfortunately, this represents a backward incompatibility with older object files which match all of these conditions: - C source code - includes stdbool.h - compiled in strict C89 mode (the default in older compilers) - module interface uses type _Bool or bool (i.e. a global variable,   function argument, or function return value of type derived from   bool, or struct containing a type derived from bool.) To work around the problem, either recompile with the latest version of the compiler, or ensure that you aren"t using any _Bool or bool objects in the module interface.

      bool and _Bool are not defined correctly in strict ANSI C mode

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-393 - bool and _Bool are not defined corr...
                SYNCHRONIZED
                • Last Sync Date: