# Local Building - does not compile with warnings?

**URL:** <https://community.particle.io/t/local-building-does-not-compile-with-warnings/14113>\
**Category:** General\
**Created:** [August 4, 2015, 8:06pm UTC](https://community.particle.io/t/local-building-does-not-compile-with-warnings/14113 "2015-08-04T20:06:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![lami](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/lami/32/3576_2.png) [@lami](https://community.particle.io/u/lami)\
**Post date:** [August 4, 2015, 8:26pm UTC](https://community.particle.io/t/local-building-does-not-compile-with-warnings/14113/5 "2015-08-04T20:26:15Z")

</div>

Well there might be something broken with your setup, I checked the `Adafruit_mfGFX.cpp` file for uninitialized `line` variable and it should be defined in all cases. And the rest of warnings seems somewhat fishy too. I seen similar errors solved using this code on top of your code:

```
#pragma SPARK_NO_PREPROCESSOR
#include "application.h"

```

Not sure if it helps, but worth the try.

There is some rather advanced thread about the problem:

> [@Union supported by compiler?](https://community.particle.io/t/union-supported-by-compiler/2714/15):
>
> Hi @peekay123, I seemed to remember you sent / posted code for this, but I’m having trouble tracking it down. Any chance you could re-send? Sorry! edit: I think @bko is right, there is something going on in there that is allocating something big. Sometimes just including a particular library can cause a binary to expand like this when it doesn’t need to. Thanks, David

---

_[View the full topic](https://community.particle.io/t/local-building-does-not-compile-with-warnings/14113)._
