Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1758

Remove POSIX depedencies from the monitor example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • QSR 2.0 RC3
    • QSR 2.0
    • Safety Monitor
    • None
    • ac6d6425f0a93c2100796fce02eb2f1f3b0c94d5

    Description

      Monitor is build on Autosar Classic. In the example code there is dependency to Posix libraries (sleep function and inet):
      "qsrMonitor.c", line 31: fatal error #2330: cannot open source file "unistd.h"
      #include <unistd.h>
      "eventProcessor.c", line 28: fatal error #2330: cannot open source file
      "arpa/inet.h"
      #include <arpa/inet.h>

      Also in the demo controller function, there is a warning about empty initializer:
      warning #1981-D: empty initializer is non-standard
      static StateMapItem stateMap[sizeof(itemStates) / sizeof(itemStates[0U])] = {};

      TestRail: Results

        Attachments

          Activity

            People

              teemu.holappa Teemu Holappa
              teemu.holappa Teemu Holappa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases