peterdocter / android-gcc-objc2-0

Automatically exported from code.google.com/p/android-gcc-objc2-0
1 stars 1 forks source link

Segfault on blocks #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Any block code segmentation faults the compiler:

e.g. even a declaration of a block pointer
void (^myblock)(void);

Expected Output:
successful compilation with blocks being declared as variables, and definitions.

issue sourced after 
make_block_pointer_declarator

Original issue reported on code.google.com by phausler@gmail.com on 19 Jan 2010 at 10:39

GoogleCodeExporter commented 9 years ago
Code now compiles without segfaults for general declaration of blocks, needs 
moar testing

Original comment by phausler@gmail.com on 20 Jan 2010 at 2:51

GoogleCodeExporter commented 9 years ago
block definitions error claiming expected expression before '^' token

Original comment by phausler@gmail.com on 20 Jan 2010 at 3:15

GoogleCodeExporter commented 9 years ago
r20 seems to have fixed most all of the blocks issues (needs to be tested 
against objc)
c++ blocks still probably dont work

Original comment by phausler@gmail.com on 20 Jan 2010 at 4:14

GoogleCodeExporter commented 9 years ago
blocks now complain when goto commands are used.

Original comment by phausler@gmail.com on 11 Apr 2010 at 6:42