#1604 Arrays of function pointers to functions returning bool

closed-fixed
Maarten Brock
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

  • Won't compile this

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

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

     
  • 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