#1711 Unnecessary warning 185

closed-fixed
5
2013-05-25
2010-11-24
Woody
No

"warning 185: comparison of 'signed char' with 'unsigned char' requires promotion to int" is generated unnecessary for equal and unequal compare

C:\sdcc\bin>sdcc -v
SDCC : mcs51/z80 3.0.1 #6066 (Nov 25 2010) (MINGW32)

Command line used: "C:\sdcc\bin>sdcc warning185.c -mz80 -c"

Discussion

  • Woody

    Woody - 2010-11-24
     
  • Philipp Klaus Krause

    • labels: 100692 -->
     
  • Philipp Klaus Krause

    This problem is not z80-specific.

    Philipp

     
  • Maarten Brock

    Maarten Brock - 2011-05-14

    Fixed in SDCC 3.0.2 #6515.

     
  • Maarten Brock

    Maarten Brock - 2011-05-14
    • labels: --> C-Front End
    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-fixed
     

Log in to post a comment.