On Sun, Aug 28, 2011 at 05:41:49AM +0200, Denys Vlasenko wrote: > > 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) > > ^ > > ; > > Bug in clang. auto is a valid storate class.
Functions don't have storage classes. static is valid for a function because it's also a linkage, but auto is not valid, as far as I can tell. No idea what it would mean if it were. Rich _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
