This is a good warning flag! I'll add it to my CFLAGS. -- Tom.
On 29/01/16 09:37, Jean Guyomarc'h wrote: > stefan pushed a commit to branch master. > > http://git.enlightenment.org/core/efl.git/commit/?id=40f162fbc500d7e2c51d93eff46e87c6117b7d91 > > commit 40f162fbc500d7e2c51d93eff46e87c6117b7d91 > Author: Jean Guyomarc'h <[email protected]> > Date: Thu Jan 28 22:29:32 2016 +0100 > > eina: fix invalid prototype > > The prototype means "unspecified arguments". However, the implementation > specifies no parameters (void). > GCC's warning -Wstrict-prototypes complains a lots about this old-style > prototype, spamming the console when compiling more than one compiling > units including Eina. > > @fix > --- > src/lib/eina/eina_value.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lib/eina/eina_value.h b/src/lib/eina/eina_value.h > index dc89b34..77dcff3 100644 > --- a/src/lib/eina/eina_value.h > +++ b/src/lib/eina/eina_value.h > @@ -3508,7 +3508,7 @@ typedef Eina_Value_Union Eina_Value_Optional; > * @return returns an empty optional eina value. > * @since 1.17 > */ > -static inline Eina_Value *eina_value_optional_empty_new(); > +static inline Eina_Value *eina_value_optional_empty_new(void); > > /** > * @brief Create an optional eina value with the passed value > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
