Menu

ds3231.h Bug: Resolved

bed
2019-03-16
2019-03-26
  • bed

    bed - 2019-03-16

    Using GCBASIC Version: 0.98.04 2018-10-20 (Linux 64 bit)

    I had fun clearing up a mysterious behavior of my program.
    I am using ds3231.h among other things.
    Because I had changed from my Startpic18 board to a prototype built on a hole grid, I no longer needed an LCD display, but a glcd type.
    So far so good, of course I have removed the initializations of the now no longer needed LCD. But there were lots of compiler errors.
    Long story short, ds3231.h has used a cls from lcd.h.
    In my opinion, this is wrong, because not everyone has an LCD display, which is
    ds3231 is used.
    :-)
    I have now commented out the "cls" from ds3231.h in line 2284 and lo and behold, it works.

    I did want create a Bug report, but there was no Milestone 098.4 ...

     

    Last edit: bed 2019-03-16
  • bed

    bed - 2019-03-16

    Once again, faster than light :-)
    To be honest, finding this had improved my understanding of how the compiler works a lot ;-)

     
    • Anobium

      Anobium - 2019-03-16

      I just inspected all the .h libraries in the include folder. I found no other library with this silly addition.

      We improve the quality with every change and update.

      Thank you

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.