Menu

#2860 segfault on missing parameter type in function prototype (and on old-style functions)

open
nobody
None
other
5
2019-01-02
2019-01-02
No

When the type of a paramter is missing in the prototype of a function returning a pointer, e.g.

extern void *f(g);

sdcc segfaults. I see this using sdcc 3.8.4 #10788 on debian GNU/Linux, but the issue has been around for a while.

I also see the segfault for an old-style function:

extern void *f(g)
int g;
{
}

Philipp

Discussion


Log in to post a comment.

Monday.com Logo