On Wed, 29 Jun 2011, Hendrik Sattler wrote: > Am Mittwoch, 29. Juni 2011, 18:49:34 schrieb Iain Hibbert: > > On Mon, 27 Jun 2011, Hendrik Sattler wrote: > > > Zitat von Iain Hibbert <plu...@netbsd.org>: > > > > From: Iain Hibbert <plu...@rya-online.net> > > > > > > > > add "-Wall foreign nostdinc" to the automake arguments > > > > > > Why "-Wall"? That's not strictly needed, is it? > > > > depends if you think that the compiler has anything useful to say.. you > > can look at it like assert(), its not necessary but it will show up > > problems that might otherwise slip through and cause unrelated trouble > > that is very difficult to track down. > > That -Wall is for autotools, not for the compiler.
Ok, have revised patch to follow to just add "nostdinc" since the other two are merely extra warnings and suchlike, and explicitly included $(top_srcdir) as an include path. That means that #include "xxx" includes xxx from the current directory, and #include <xxx> includes xxx from the standard search path, which makes it possible to include <uuid.h> and "uuid.h" in the same sources.. and then I split out the BLUETOOTH_CFLAGS to its own patch, and built up some others to kill a few compiler warnings.. iain ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users