On 20 August 2013 14:10, Ben Pfaff <b...@nicira.com> wrote: > Without this patch, I get Clang warnings that I don't understand for each > of the non-static functions in dirs.c: > > warning: control reaches end of non-void function
This is a clang bug; in your example the call to bar() is omitted by clang, and the warning is thus actually true. I encountered the bug while looking at other issues in FreeBSD's stdatomic.h and my colleague distilled a simple test case and submitted a bug report[1] for it yesterday. As of this morning it's fixed in clang svn[2]. We're going to bring the fix into FreeBSD's in-tree clang. [1] http://llvm.org/bugs/show_bug.cgi?id=16931 [2] http://llvm.org/viewvc/llvm-project?view=revision&revision=188718 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev