Closed ds2k5 closed 3 months ago
Describe the bug A clear and concise description of what the bug is.
Downloaded the Code Version 4.2 wann installt to my esp8266 Device
To Reproduce Steps to reproduce the behavior:
got this Messages
In file included from sketch/MiningJob.h:14, from /home/developer/duino-coin/ESP_Code/ESP_Code.ino:51: sketch/Settings.h:7:14: warning: 'DUCO_USER' initialized and declared 'extern' 7 | extern char *DUCO_USER = "MyUserName"; | ^~~~~~~~~ sketch/Settings.h:7:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 7 | extern char *DUCO_USER = "MyUserName"; | ^~~~~~~~~~ sketch/Settings.h:9:14: warning: 'MINER_KEY' initialized and declared 'extern' 9 | extern char *MINER_KEY = "MyMinerKey"; | ^~~~~~~~~ sketch/Settings.h:9:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 9 | extern char *MINER_KEY = "MyMinerKey"; | ^~~~~~~~~~~~~~~~~~~~~~ sketch/Settings.h:12:14: warning: 'RIG_IDENTIFIER' initialized and declared 'extern' 12 | extern char *RIG_IDENTIFIER = "MyRigName"; | ^~~~~~~~~~~~~~ sketch/Settings.h:12:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 12 | extern char *RIG_IDENTIFIER = "MyRigName"; | ^~~~~ In file included from sketch/MiningJob.h:14, from /home/developer/duino-coin/ESP_Code/ESP_Code.ino:51: sketch/Settings.h:116:21: warning: 'hashrate' initialized and declared 'extern' 116 | extern unsigned int hashrate = 0; | ^~~~~~~~ sketch/Settings.h:117:21: warning: 'hashrate_core_two' initialized and declared 'extern' 117 | extern unsigned int hashrate_core_two = 0; | ^~~~~~~~~~~~~~~~~ sketch/Settings.h:118:21: warning: 'difficulty' initialized and declared 'extern' 118 | extern unsigned int difficulty = 0; | ^~~~~~~~~~ sketch/Settings.h:119:22: warning: 'share_count' initialized and declared 'extern' 119 | extern unsigned long share_count = 0; | ^~~~~~~~~~~ sketch/Settings.h:120:22: warning: 'accepted_share_count' initialized and declared 'extern' 120 | extern unsigned long accepted_share_count = 0; | ^~~~~~~~~~~~~~~~~~~~ sketch/Settings.h:121:15: warning: 'node_id' initialized and declared 'extern' 121 | extern String node_id = ""; | ^~~~~~~ sketch/Settings.h:122:15: warning: 'WALLET_ID' initialized and declared 'extern' 122 | extern String WALLET_ID = ""; | ^~~~~~~~~ sketch/Settings.h:123:21: warning: 'ping' initialized and declared 'extern' 123 | extern unsigned int ping = 0; | ^~~~ . Variables and constants in RAM (global, static), used 30544 / 80192 bytes (38%) ║ SEGMENT BYTES DESCRIPTION ╠══ DATA 1516 initialized variables ╠══ RODATA 2748 constants ╚══ BSS 26280 zeroed variables . Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 61300 / 65536 bytes (93%) ║ SEGMENT BYTES DESCRIPTION ╠══ ICACHE 32768 reserved space for flash instruction cache ╚══ IRAM 28532 code in IRAM . Code in flash (default, ICACHE_FLASH_ATTR), used 424524 / 1048576 bytes (40%) ║ SEGMENT BYTES DESCRIPTION ╚══ IROM 424524 code in flash
Expected behavior A clear and concise description of what you expected to happen.
Screenshots/photos If applicable, add screenshots or photos to help explain your problem.
System (please complete the following information):
Additional context Add any other context about the problem here.
This is not an error, just a compiler warning.
@revoxhere
ok but the device did not conntect to my WiFI with version 4.0 of the code it worked
Describe the bug A clear and concise description of what the bug is.
Downloaded the Code Version 4.2 wann installt to my esp8266 Device
To Reproduce Steps to reproduce the behavior:
got this Messages
Expected behavior A clear and concise description of what you expected to happen.
Screenshots/photos If applicable, add screenshots or photos to help explain your problem.
System (please complete the following information):
Additional context Add any other context about the problem here.