[Bug 4123] New: the nested function in c code renders busybox not compilable under clang
bugzilla at busybox.net
bugzilla at busybox.net
Fri Sep 2 21:03:38 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=4123
Summary: the nested function in c code renders busybox not
compilable under clang
Product: Busybox
Version: 1.19.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Standard Compliance
AssignedTo: unassigned at busybox.net
ReportedBy: balicki.aleksander at gmail.com
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Created attachment 3553
--> https://bugs.busybox.net/attachment.cgi?id=3553
build.log
the nested function in:
findutils/find.c:896
crashes under clang, because of the usage of a nested function:
findutils/find.c:896:2: error: illegal storage class on function
auto action* alloc_action(int sizeof_struct, action_fp f);
^
findutils/find.c:897:54: error: expected ';' at end of declaration
action* alloc_action(int sizeof_struct, action_fp f)
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list