On Tue, Apr 21, 2015 at 5:45 PM, Emil Velikov <emil.l.veli...@gmail.com> wrote: > Hmm pretty sure I've read somewhere (old version of GCC's manual?) that > such warnings are enabled by default and cannot be controlled by the > compiler (for C++ of course). I'm not an C++ expect so it could be that > the standard does not require declarations/prototypes for non static > functions ?
A prototype is only required by C++ when a function is called. Functions don't need prototypes for themselves. Only their call sites need them. > > Seems like we're building clover without even a single -W flag - perhaps > we could add some (not with this patch of course) ? Yes, I agree. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev