#1604 Arrays of function pointers to functions returning bool

closed-fixed
5
2013-05-25
2010-01-18
No

Arrays of function pointers to functions returning bool won't compile:

sdcc test.c
test.c:5: error 90: storage class CANNOT be specified for bit variable 'bar'
test.c:5: error 50: Array or Pointer to bit|sbit|sfr not allowed.'bar'
test.c:5: error 90: storage class CANNOT be specified for bit variable 'bar'
test.c:5: error 50: Array or Pointer to bit|sbit|sfr not allowed.'bar'

I used sdcc rev #5640. All ports seem to be affected.

Discussion

  • Philipp Klaus Krause

    Won't compile this

     
  • Philipp Klaus Krause

    This bug report no longer applies to the z80 and gbz80 ports.

    It can be closed once all ports have true _Bool support.

     
  • Philipp Klaus Krause

    This bug report currently applies to mcs51, ds390 and xa51 ports only.

    Philipp

     
  • Maarten Brock

    Maarten Brock - 2011-12-07

    Fixed in SDCC 3.1.1 #7105

     
  • Maarten Brock

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

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks