On Fri, 17 Jun 2011 18:18:42 +0900 Daniel Juyung Seo <[email protected]> wrote:
> > Well, we didn't add the elementary_config.h in the examples to try to > > keep them as simple as possible > > Yeah, I agree with you. But I added that to void compiler warnings > with "-W -Wall -Wextra" option. -W is the deprecated form of -Wextra > I think we can just decide whether to use it or not. > > > But if it's better to keep them, I > > would suggest to also define __UNUSED__ to nothing > > Agreed. I added them. > Thanks! > > Daniel Juyung Seo (SeoZ) > > > On Fri, Jun 17, 2011 at 4:49 AM, Rafael Antognolli > <[email protected]> wrote: > > Hello Daniel, > > > > Well, we didn't add the elementary_config.h in the examples to try to > > keep them as simple as possible. But if it's better to keep them, I > > would suggest to also define __UNUSED__ to nothing, just in case > > someone tries to compile the example manually, with the gcc line > > commented inside its code. Something like: > > > > #include <Elementary.h> > > #ifdef HAVE_CONFIG_H > > # include "elementary_config.h" > > #else > > # define __UNUSED__ > > #endif > > > > > > On Thu, Jun 16, 2011 at 2:55 PM, Enlightenment SVN > > <[email protected]> wrote: > >> Log: > >> elm examples: Fixed 'unused parameter' warnings. > >> > >> > >> Author: seoz > >> Date: 2011-06-16 10:55:31 -0700 (Thu, 16 Jun 2011) > >> New Revision: 60404 > >> Trac: http://trac.enlightenment.org/e/changeset/60404 -- Mike Blumenkrantz Zentific: Coding in binary since '10. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
