# Error: 'nullptr' was not declared in this scope

**URL:** <https://forum.arduino.cc/t/error-nullptr-was-not-declared-in-this-scope/1045860>\
**Category:** Programming\
**Created:** [October 25, 2022, 2:52pm UTC](https://forum.arduino.cc/t/error-nullptr-was-not-declared-in-this-scope/1045860 "2022-10-25T14:52:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gfvalvo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gfvalvo/32/1013044_2.png) [@gfvalvo](https://forum.arduino.cc/u/gfvalvo)\
**Post date:** [October 25, 2022, 3:01pm UTC](https://forum.arduino.cc/t/error-nullptr-was-not-declared-in-this-scope/1045860/3 "2022-10-25T15:01:55Z")

</div>

> [@ritrat](#):
>
> I'm compiling an Adafruit sketch

If only we could see that sketch.

> [@ritrat](#):
>
> Any suggestions on how to fix this?

Post the sketch?

---

_[View the full topic](https://forum.arduino.cc/t/error-nullptr-was-not-declared-in-this-scope/1045860)._
