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

Esp8266 Compilation Error #20

Closed
BhargavVadaliya opened this issue Oct 6, 2022 · 1 comment
Closed

Esp8266 Compilation Error #20

BhargavVadaliya opened this issue Oct 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@BhargavVadaliya
Copy link

Example: Max17044
Board: NodeMCU 1.0

Arduino IDE throwing Error when compiling Max17044 example for Esp8266 board.

Error:
"C:\Users\TECHNO~1\AppData\Local\Temp\arduino_build_883167\libraries\MAX1704X\MAX1704X.cpp.o"

C:\Users\TechnoML3\Documents\Arduino\libraries\MAX1704X\src\MAX1704X.cpp: In member function 'bool MAX1704X::begin(uint8_t)':

C:\Users\TechnoML3\Documents\Arduino\libraries\MAX1704X\src\MAX1704X.cpp:70:1: error: no return statement in function returning non-void [-Werror=return-type]

70 | }

  | ^

cc1plus.exe: some warnings being treated as errors

Using library MAX1704X at version 1.2.7 in folder: C:\Users\TechnoML3\Documents\Arduino\libraries\MAX1704X

Using library Wire at version 1.0 in folder: C:\Users\TechnoML3\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Wire

exit status 1

Error compiling for board NodeMCU 1.0 (ESP-12E Module).

@BhargavVadaliya BhargavVadaliya added the question Further information is requested label Oct 6, 2022
@porrey porrey added bug Something isn't working and removed question Further information is requested labels Oct 6, 2022
@porrey
Copy link
Owner

porrey commented Oct 6, 2022

Corrected in v1.2.8

@porrey porrey closed this as completed Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants