#376 wrog line info on error notification

closed-rejected
None
5
2013-05-25
2002-08-25
No

1:
2: int func() {
3:
4: this is an error
5:
6:
7: return 0;
8: }
9:
10: int main(void) {}

Instead of giving me error on line 4, compiler notifies
me of error on line 8. Strange, cause I've used earlier
builds and this did not occur.

I compiled SDCC from CVS. I'm using Debian, linux
kernel 2.4.18, gcc 2.95.

well, i'm putting my sdcc binary gziped here:
http://www.ic.unicamp.br/~massia/my-sdcc-bin.gz
maybe it helps

---
tia

Discussion

  • Bernhard Held

    Bernhard Held - 2002-08-25

    Logged In: YES
    user_id=203539

    Not reproducable:
    l.c:4: parse error: token -> 'is' ; column 8
    l.c:8: error: code not generated for 'func' due to previous
    errors
    l.c:10: error: code not generated for 'main' due to previous
    errors

     
  • Bernhard Held

    Bernhard Held - 2002-08-25
    • milestone: --> unreproducable
    • assigned_to: nobody --> bernhardheld
    • status: open --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks