Menu

#90 PIC24 port needs definition of type 'bool'

QPC
wont-fix
PIC24 bool (1)
1
2024-08-01
2014-04-13
No

Current as of today PIC24 XC16 port (rev.not clear) won't compile with XC16 ver 1.20. The error is caused by the absence of definition for type 'bool' which is no longer in stdint.h (not sure if it ever was, this is my first compile of QP libs with XC ). The proposed fix is to add '#include stdbool.h' alongside stdint.t in qep_port.h of the port.

QP/C Version 5.3.0 (31-Mar-2014)

Related

Bugs: #90

Discussion

  • Quantum Leaps

    Quantum Leaps - 2014-04-13

    As already explained in Bug #89, it seems that you are trying to compile a QDK designed for an earlier version of QP/C against the latest QP/C 5.3.0. This is not guaranteed to work, as the QDK must be updated to the latest version of QP first.

    Every QDK lists the QP version that it is compatible with. For example, the QDK/C PIC24/dsPIC-MPLABX-XC16 development kit (available from http://www.state-machine.com/pic), lists QP/C 4.5.04.

    --MMS

     
    • Oleg Mazurov

      Oleg Mazurov - 2014-04-13

      Thew QDK manual states "4.5.04 or higher" ( page 1 last line right above
      the footer).

      2014-04-13 14:46 GMT-06:00 Quantum Leaps quantum-leaps@users.sf.net:

      As already explained in Bug #89, it seems that you are trying to compile a
      QDK designed for an earlier version of QP/C against the latest QP/C 5.3.0.
      This is not guaranteed to work, as the QDK must be updated to the latest
      version of QP first.

      Every QDK lists the QP version that it is compatible with. For example,
      the QDK/C PIC24/dsPIC-MPLABX-XC16 development kit (available from
      http://www.state-machine.com/pic), lists QP/C 4.5.04.

      --MMS


      ** [bugs:#90] PIC24 port needs definition of type 'bool'**

      Status: open
      Group: QP-C
      Labels: PIC24 bool
      Created: Sun Apr 13, 2014 05:54 AM UTC by Oleg Mazurov
      Last Updated: Sun Apr 13, 2014 05:54 AM UTC
      Owner: nobody

      Current as of today PIC24 XC16 port (rev.not clear) won't compile with
      XC16 ver 1.20. The error is caused by the absence of definition for type
      'bool' which is no longer in stdint.h (not sure if it ever was, this is my
      first compile of QP libs with XC ). The proposed fix is to add '#include
      stdbool.h' alongside stdint.t in qep_port.h of the port.

      QP/C Version 5.3.0 (31-Mar-2014)


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/qpc/bugs/90/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

      --
      /felis

       

      Related

      Bugs: #90

      • Quantum Leaps

        Quantum Leaps - 2014-04-13

        I realize that it is not explained clearly, but "4.5.04 or higher" means any higher version within the 4.x line. But the new QP5 represents a new major version upgrade, and is a bit like Windows8 to Windows7.

        But anyway, I hope you can understand that it is very difficult to keep every last QDK up to date. But all officially supported QDKs (and PIC24/dsPIC is one of them) will be eventually updated. It just takes a little while to do this. I hope you can understand that a day has only 24 hours and a week only 7 days, even at Quantum Leaps. We already work through all the weekends...

        --MMS

         

        Last edit: Quantum Leaps 2014-04-14
        • Oleg Mazurov

          Oleg Mazurov - 2014-04-14

          I'm not expecting you to fix it right away, just wanted to let you know.

          2014-04-13 17:39 GMT-06:00 Quantum Leaps quantum-leaps@users.sf.net:

          I realize that it is not explained clearly, but "4.5.04 or higher" means
          any higher version within the 4.x line. But the new QP5 represents a new
          major version upgrade, and is a bit like Windows7 and Windows8.

          But anyway, I hope you can understand that it is very difficult to keep
          every last QDK up to date. But all officially supported QDKs (and
          PIC24/dsPIC is one of them) will be eventually updated. It just takes a
          little while to do this. I hope you can understand that a day has only 24
          hours.

          --MMS


          ** [bugs:#90] PIC24 port needs definition of type 'bool'**

          Status: open
          Group: QP-C
          Labels: PIC24 bool
          Created: Sun Apr 13, 2014 05:54 AM UTC by Oleg Mazurov
          Last Updated: Sun Apr 13, 2014 08:45 PM UTC
          Owner: nobody

          Current as of today PIC24 XC16 port (rev.not clear) won't compile with
          XC16 ver 1.20. The error is caused by the absence of definition for type
          'bool' which is no longer in stdint.h (not sure if it ever was, this is my
          first compile of QP libs with XC ). The proposed fix is to add '#include
          stdbool.h' alongside stdint.t in qep_port.h of the port.

          QP/C Version 5.3.0 (31-Mar-2014)


          Sent from sourceforge.net because you indicated interest in <
          https://sourceforge.net/p/qpc/bugs/90/>

          To unsubscribe from further messages, please visit <
          https://sourceforge.net/auth/subscriptions/>

          --
          /felis

           

          Related

          Bugs: #90

  • Quantum Leaps

    Quantum Leaps - 2017-11-15
    • status: open --> wont-fix
    • assigned_to: Quantum Leaps
     
  • Quantum Leaps

    Quantum Leaps - 2017-11-15

    This problem is no longer tracked, as PIC24 is no longer officially supported.
    The PIC24 port and examples have been moved to the legacy QDKs.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel





Monday.com Logo