Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.03 KB | None | 0 0
  1. C:\Users\Frit\Desktop\3_87\3_87.ino:131:1: warning: narrowing conversion of '-100' from 'int' to 'byte {aka unsigned char}' inside { } [-Wnarrowing]
  2.  
  3. };
  4.  
  5. ^
  6.  
  7. C:\Users\Frit\Desktop\3_87\3_87.ino:131:1: warning: narrowing conversion of '-100' from 'int' to 'byte {aka unsigned char}' inside { } [-Wnarrowing]
  8.  
  9. C:\Users\Frit\Desktop\3_87\3_87.ino:131:1: warning: narrowing conversion of '-100' from 'int' to 'byte {aka unsigned char}' inside { } [-Wnarrowing]
  10.  
  11. C:\Users\Frit\Desktop\3_87\3_87.ino:131:1: warning: narrowing conversion of '-100' from 'int' to 'byte {aka unsigned char}' inside { } [-Wnarrowing]
  12.  
  13. C:\Users\Frit\Desktop\3_87\Heater_BUS.ino: In function 'void Heater_BUS()':
  14.  
  15. C:\Users\Frit\Desktop\3_87\Heater_BUS.ino:258:66: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  16.  
  17. PUBsend (tHEAT_TOP, noData ? FAIL : String(HeaterC),1);
  18.  
  19. ^
  20.  
  21. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  22.  
  23. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  24.  
  25. ^~~~~~~
  26.  
  27. C:\Users\Frit\Desktop\3_87\Heater_BUS.ino:259:64: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  28.  
  29. PUBsend (R_NAPR_TOP, noData ? FAIL : String(Vpit), 1);
  30.  
  31. ^
  32.  
  33. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  34.  
  35. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  36.  
  37. ^~~~~~~
  38.  
  39. C:\Users\Frit\Desktop\3_87\Heater_BUS.ino:260:71: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  40.  
  41. PUBsend (R_POWER_TOP ,noData ? FAIL : String(PowerHeater), 1);
  42.  
  43. ^
  44.  
  45. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  46.  
  47. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  48.  
  49. ^~~~~~~
  50.  
  51. C:\Users\Frit\Desktop\3_87\MQTT.ino: In function 'void MQTTsendDatastream()':
  52.  
  53. C:\Users\Frit\Desktop\3_87\MQTT.ino:62:47: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  54.  
  55. PUBsend (R_TIME_TOP, String(TimeWebasto), 1);
  56.  
  57. ^
  58.  
  59. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  60.  
  61. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  62.  
  63. ^~~~~~~
  64.  
  65. C:\Users\Frit\Desktop\3_87\MQTT.ino:64:58: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  66.  
  67. PUBsend (R_HEAT_TOP, String(webasto) + ENDSTR, 1);
  68.  
  69. ^
  70.  
  71. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  72.  
  73. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  74.  
  75. ^~~~~~~
  76.  
  77. C:\Users\Frit\Desktop\3_87\MQTT.ino:65:56: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  78.  
  79. PUBsend (R_FLAME_TOP, String(startWebasto_OK), 1);
  80.  
  81. ^
  82.  
  83. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  84.  
  85. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  86.  
  87. ^~~~~~~
  88.  
  89. C:\Users\Frit\Desktop\3_87\MQTT.ino:67:69: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  90.  
  91. PUBsend (R_POWER_TOP, NeedTimer ? WAIT : String(PowerHeater),1);
  92.  
  93. ^
  94.  
  95. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  96.  
  97. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  98.  
  99. ^~~~~~~
  100.  
  101. C:\Users\Frit\Desktop\3_87\MQTT.ino:68:59: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  102.  
  103. PUBsend (tHEAT_TOP, NeedTimer ? WAIT : String(HeaterC),1);
  104.  
  105. ^
  106.  
  107. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  108.  
  109. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  110.  
  111. ^~~~~~~
  112.  
  113. C:\Users\Frit\Desktop\3_87\MQTT.ino:70:63: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  114.  
  115. PUBsend (R_NAPR_TOP, NeedTimer ? WAIT : String(Vpit), 1);
  116.  
  117. ^
  118.  
  119. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  120.  
  121. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  122.  
  123. ^~~~~~~
  124.  
  125. C:\Users\Frit\Desktop\3_87\MQTT.ino:72:50: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  126.  
  127. PUBsend (tDVS_TOP, String(Temper(EngineC)), 1);
  128.  
  129. ^
  130.  
  131. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  132.  
  133. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  134.  
  135. ^~~~~~~
  136.  
  137. C:\Users\Frit\Desktop\3_87\MQTT.ino:73:49: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  138.  
  139. PUBsend (tUL_TOP, String(Temper(UlicaC)), 1);
  140.  
  141. ^
  142.  
  143. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  144.  
  145. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  146.  
  147. ^~~~~~~
  148.  
  149. C:\Users\Frit\Desktop\3_87\MQTT.ino:74:49: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  150.  
  151. PUBsend (tSAL_TOP, String(Temper(SalonC)), 1);
  152.  
  153. ^
  154.  
  155. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  156.  
  157. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  158.  
  159. ^~~~~~~
  160.  
  161. C:\Users\Frit\Desktop\3_87\MQTT.ino:75:50: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  162.  
  163. PUBsend (tVYH_TOP, String(Temper(VyhlopC)), 1);
  164.  
  165. ^
  166.  
  167. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  168.  
  169. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  170.  
  171. ^~~~~~~
  172.  
  173. C:\Users\Frit\Desktop\3_87\MQTT.ino:76:52: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  174.  
  175. PUBsend (R_RESETS_TOP, String(ResetNumber), 1);
  176.  
  177. ^
  178.  
  179. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  180.  
  181. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  182.  
  183. ^~~~~~~
  184.  
  185. C:\Users\Frit\Desktop\3_87\MQTT.ino:77:46: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  186.  
  187. PUBsend (R_DTS_TOP, String(DTC[0]), 1);
  188.  
  189. ^
  190.  
  191. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  192.  
  193. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  194.  
  195. ^~~~~~~
  196.  
  197. C:\Users\Frit\Desktop\3_87\MQTT.ino:78:46: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  198.  
  199. PUBsend (R_FLOUT_TOP, String(flameout), 1);
  200.  
  201. ^
  202.  
  203. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  204.  
  205. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  206.  
  207. ^~~~~~~
  208.  
  209. C:\Users\Frit\Desktop\3_87\MQTT.ino: In function 'void remTime(bool)':
  210.  
  211. C:\Users\Frit\Desktop\3_87\MQTT.ino:86:67: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  212.  
  213. PUBsend (R_REMTIME_TOP, webasto ? String(rem) : "выкл", s);
  214.  
  215. ^
  216.  
  217. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  218.  
  219. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  220.  
  221. ^~~~~~~
  222.  
  223. C:\Users\Frit\Desktop\3_87\Modem.ino: In function 'void Check_responseModem()':
  224.  
  225. C:\Users\Frit\Desktop\3_87\Modem.ino:32:59: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  226.  
  227. else {PUBsend (R_HEAT_TOP,String(webasto) + ENDSTR,0);} //если MQTT активен
  228.  
  229. ^
  230.  
  231. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  232.  
  233. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  234.  
  235. ^~~~~~~
  236.  
  237. C:\Users\Frit\Desktop\3_87\Modem.ino: In function 'void NastroykaGSM()':
  238.  
  239. C:\Users\Frit\Desktop\3_87\Modem.ino:63:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  240.  
  241. else if (gsmstatus == setSubPack) SUBsend("d/#");
  242.  
  243. ^
  244.  
  245. C:\Users\Frit\Desktop\3_87\ReadModem.ino: In function 'void readModem()':
  246.  
  247. C:\Users\Frit\Desktop\3_87\ReadModem.ino:228:52: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  248.  
  249. PUBsend(R_TIME_TOP, String(TimeWebasto), 0);
  250.  
  251. ^
  252.  
  253. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  254.  
  255. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  256.  
  257. ^~~~~~~
  258.  
  259. C:\Users\Frit\Desktop\3_87\ReadModem.ino:232:152: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  260.  
  261. if (currStr.indexOf(D_RESRES_TOP) > -1) {ResetNumber=0; EEPROM.write (ResetNumber_cell, ResetNumber); PUBsend(R_RESETS_TOP,String(ResetNumber),0);}
  262.  
  263. ^
  264.  
  265. C:\Users\Frit\Desktop\3_87\MQTT.ino:34:6: note: initializing argument 1 of 'void PUBsend(char*, String, const bool&)'
  266.  
  267. void PUBsend (char topPub[30], const String Command, const bool &multidata) {
  268.  
  269. ^~~~~~~
  270.  
  271. Скетч использует 29832 байт (97%) памяти устройства. Всего доступно 30720 байт.
  272. Глобальные переменные используют 1086 байт (53%) динамической памяти, оставляя 962 байт для локальных переменных. Максимум: 2048 байт.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement