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

Using stdint.h causes compiler warnings in AUTOSAR projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • QSR 2.2
    • Safety Monitor
    • None

    Description

      Currently stdint.h is used in some of the QSR files. When including QSR headers in an AUTOSAR project this causes unwanted compiler warnings as Platform_Types.h already adds defines for example for the UINT8_MAX and so on.

      Fix proposal:

      Remove all includes for stdint.h and use q(u)int* types in every file. Then in AUTOSAR project add quint8, quint16 ... types to Platform_Types.h.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tommit Tommi Tauriainen
            tommit Tommi Tauriainen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 2 open Gerrit changes