Skip to content
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

error: extra qualification 'TuyaWifi::'[-fpermissive] #10

Open
hugo8873 opened this issue Apr 13, 2023 · 1 comment
Open

error: extra qualification 'TuyaWifi::'[-fpermissive] #10

hugo8873 opened this issue Apr 13, 2023 · 1 comment

Comments

@hugo8873
Copy link

hugo8873 commented Apr 13, 2023

IDE: Arduino IDE 1.8
Hardware: ESP32-S3-Lilygo-T-Display-S3

When compiling the example sketch "start.ino", getting error message,
"
In file included from /Users//Documents/Arduino/Tuya_Test_ESP32S3_T_Display/Tuya_Test_ESP32S3_T_Display/Tuya_Test_ESP32S3_T_Display.ino:15:
/Users/
/Documents/Arduino/libraries/Tuya_WiFi_MCU_SDK/src/TuyaWifi.h:81:10: error: extra qualification 'TuyaWifi::' on member 'get_green_time' [-fpermissive]
char TuyaWifi::get_green_time(TUYA_WIFI_TIME *time, const unsigned int timeout);
^~~~~~~~
/Users/~/Documents/Arduino/libraries/Tuya_WiFi_MCU_SDK/src/TuyaWifi.h:85:10: error: extra qualification 'TuyaWifi::' on member 'get_rtc_time' [-fpermissive]
char TuyaWifi::get_rtc_time(TUYA_WIFI_TIME *time, const unsigned int timeout);
^~~~~~~~
exit status 1
Error compiling for board ESP32S3 Dev Module.
"

Any clue? Thanks.
Is this just a syntax error in the *.cpp?

@shiliu-yang
Copy link
Contributor

I apologize for just seeing this issue. You can update this Arduino library to the latest version should solve your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants