-
Notifications
You must be signed in to change notification settings - Fork 132
Disable [-Werror=return-type] #1297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
and the question/issue is. |
How can I disable the error-message? |
Is the error message from the build or the code analyser? |
Sorry I'm no expert. Here is the output
|
These are build errors and should not be discarded without knowing what you are doing. |
Yes, this works in the arduino IDE without any problems |
Is it possible to paste here your project? Zipped? |
Please paste here zipped project will try it |
Are you sure arduino IDE uses the same library, the same board with the same platform version? |
Arduino ide shows what libraries etc. Uses to compile project at beginning of log, please paste it |
the log is too long, I will zip the project tomorrow. Thanks and good night so long. |
Hi uzi18 and jantje, Test_ESP32.zip |
First of all: always tell which board you are using. There are some problems with ESP32 latest platform changes (not sure yet they have been released and based on the analysis of the command it seems fine) which should be fixed in Sloeber release 4.4 which is currently in testing Apart from the esp32 issues expected to be fixed in the next release It seems your command line (8951) is to longer than the windows allowed 8192 see #1210 for a workaround that seems to work on esp 32 |
Hi jantje,
I dont know where it comes from: from the too long command lines or from anywhere else. |
According to the Messages Sloeber.txt provided by jou the compile and link commands are ok.
|
Yes, I know. |
There are 2 possibilities
The great thing is that sloeber has far more possibilities to inspect the code. See if the code analyzer finds the methoods |
Hi jantje
I've done nr.1 several times. always the same errors, I dont have any ideas anymore. |
I will not try Arduino IDE but I can try Sloeber. |
Please take these, it's the actual version
|
Hi janjte, |
No, I'm focussing on a release right now. |
okay, I will wait |
Hi janjte, |
I just tried it with V4.4 and it seems there is something off with the inclusion of libraries provided by the platform. |
Seems the exclusion paths are not properly set in my project. Need to investigate that but I guess this is 4.4 regression Your problem seems to be in the ESP-Mail library that has an extras folder in the src folder 2 comments:
|
Caused a nearly lock up on my system with the library exclusion filters not set
I don't know why all files are given for a build This way sloeber.ino.cpp is always build
Hi jantje, Many greetings |
Hello,
when I build my project, I get the error
The error happens in some included libraries and i don't want to change them.
How can I disable the error ?
I´ve tried to change it in the Preferences\C/C++\Code Analysis
or by a compiler directive like
The text was updated successfully, but these errors were encountered: