Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-766

TLR_Types.h does not compile using -wundef -werror warning levels

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: V2.0.8.27, V2.1.11.0, V2.1.11.1, V2.1.11.2, V2.1.11.3
    • Fix Version/s: V2.0.8.28, V2.1.11.4, V2.1.12.0
    • Component/s: General
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      -wundef results in a warning as _MSC_VER is not defined under rcX and is directly checked via #if _MSC_VER. Using also -werror which turns all warnings into errors, compilation is not possible.

      Known Workarounds:

      • Don't use -wundef / -werror
      • manually add #ifdef _MSC_VER guard

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MTrensch Michael Trensch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: