Comments (7)
libs are also affected by this compiler check.
Not the safest but simplest solution:
make menuconfig
- compiler options
- Disable new warnings introduced in GCC 6 - 8
from esp32-homekit-camera.
Looks like it's a new check in compiler added recently, should be fine to disable it with -Wno-error=sizeof-pointer-memaccess
from esp32-homekit-camera.
I will try with -Wno-error=sizeof-pointer-memaccess
, do you know how to set this?
Now I used Windows with Mingw32 (acc. Docs Espressif) but with warnings during compilation:
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-80-g6c4433a5
Expected to see version: esp32-2019r1
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 5.2.0
Expected to see version(s): 8.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
from esp32-homekit-camera.
No, I do not do Windows support, sorry
from esp32-homekit-camera.
The secure way :
line 55 : strncpy(magic, magic1, sizeof(magic1)<sizeof(magic)?sizeof(magic1):sizeof(magic));
line 233 : strncpy(data.magic, magic1, sizeof(magic1)<sizeof(data.magic)?sizeof(magic1):sizeof(data.magic));
from esp32-homekit-camera.
Nope, not doing that. If you look at the code, magic
IS defined to have size of magic1.
from esp32-homekit-camera.
I have already pushed a fix, should not complain now.
from esp32-homekit-camera.
Related Issues (20)
- Failed to setup endpoints: no session ID field HOT 8
- ESP32 S2 USB Webcam, much better quality HOT 1
- Build with errors HOT 5
- Can't apply patch in MacOS HOT 17
- Compile error - esp_event_loop_init HOT 3
- Error applying Patch? HOT 1
- mdns component moved from idf 5.0 HOT 3
- wifi:bcn_timeout,ap_probe_send_start
- Code is broken? Failed to dump SPR public key (code -199) HOT 3
- Environment for successful build? HOT 19
- Compile Issue: make: *** [all] Error 2 HINT: The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include <inttypes.h> header file). HOT 7
- Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. HOT 1
- esp_random.h header file is not included by esp_system.h anymore.
- ESP32D0WDQ6 - only can see picture no video HOT 2
- can not build with esp-idf v5
- make flash issues
- make menuconfig does not work HOT 5
- errors HOT 1
- Failed to dump SPR public key (code -199) HOT 3
- Failed to dump SPR public key (code -199) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-homekit-camera.