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

Using stdint.h causes compiler warnings in AUTOSAR projects

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QSR-2825
        # Subject Branch Project Status CR V

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

              Created:
              Updated:

                There are 2 open Gerrit changes