-
Notifications
You must be signed in to change notification settings - Fork 132
Changing COM-Port destroys esp8266-Code with <timelib.h> #864
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
This Timelib: |
Today I noticed that the error occurs not only when changing the port, but also when cleaning up the project. |
There is probably a unwanted library in your project. As an independent open source project we value your submission, but we ask for support, either by helping us out coding (yeah, we do understand it does require time) or a Patreon contribution (starting from as low as 1$ a month): this allows us to support people who support us back! |
I did the following steps:
extend existing code with Time-Library #include <TimeLib.h> & #include <WiFiUdp.h>
Verify this Code -> OK
Upload this code to ESP # 1 at port COM17 -> everything works
Changing Port to COM20 for uploading to ESP # 2
Try to Upload -> Code Errors
Changing Port back to COM17 for uploading to ESP # 1
Try to Upload -> Code Errors
now 2 Ways a (with Port COM17) or b with Port COM20) ->
8a. delete the include, new code and remove the Lib (with sloeber-Tool) the Errors are gone, also redoing Step 1 to 3 works.
8b. delete the include, new code and remove the Lib (with sloeber-Tool) the Errors are still here.
went back to existing Code (with TortoisHG) Changing Port to COM 20 then redoing the Steps 1-3 the Error is gone, Step 4 changing PORT (now to COM17) - It's all the same....
Errors:
Description Resource Path Location Type
dereferencing pointer to incomplete type time.c /Hasenzaun_Server_AJAX/core/core line 89 C/C++ Problem
make: *** [core\time.c.o] Error 1 Hasenzaun_Server_AJAX C/C++ Problem
recipe for target 'core\time.c.o' failed subdir.mk /Hasenzaun_Server_AJAX/Release/core/core line 419 C/C++ Problem
unknown type name 'clockid_t' time.c /Hasenzaun_Server_AJAX/core/core line 77 C/C++ Problem
unknown type name 'suseconds_t' time.c /Hasenzaun_Server_AJAX/core/core line 27 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 26 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 32 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 39 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 46 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 85 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 92 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 107 C/C++ Problem
unknown type name 'time_t' time.c /Hasenzaun_Server_AJAX/core/core line 112 C/C++ Problem
Best regards
Hartmut Fürst
The text was updated successfully, but these errors were encountered: