My build properties file

0 views
Skip to first unread message

Matt

unread,
Oct 13, 2009, 10:43:56 AM10/13/09
to illum...@googlegroups.com

This is the file I use in Arduino\hardware\cores\ixm\config in order to avoid the errors for things like unused variables. I basically just take out the –werror and –wall stuff on the C and C++ compilation lines.

 

-Matt

build.properties.xml

Marlow Weston

unread,
Oct 13, 2009, 10:50:06 AM10/13/09
to illum...@googlegroups.com
Matt,

-wall makes super-sure you aren't doing anything stupid and does sometimes catch bugs before you run.  The same goes for -werror.  I really advise that you rethink this and not give yourself more rope to hang yourself with than we already have, which is pretty extensive.

Your choice though.

Best wishes,
--Marlow

Dave Ackley

unread,
Oct 13, 2009, 10:52:28 AM10/13/09
to illum...@googlegroups.com
It would be good if there was a scheme
supporting a different set of
compilation flags for the sketch than
for the core software. Then the core
could get the stringent settings while
sketches could be handled however
strictly or liberally one is comfortable
with.

I'm not sure how much property
reorganization that would require..

- Dave

Matt wrote:
> This is the file I use in Arduino\hardware\cores\ixm\config in order to
> avoid the errors for things like unused variables. I basically just take out

> the -werror and -wall stuff on the C and C++ compilation lines.
>
>
>
> -Matt
>
>
>

Reply all
Reply to author
Forward
0 new messages