In file included from D:\Arduino_1.4.1\hardware\arduino\avr\cores\arduino/Arduino.h:28:0, from D:\Arduino_1.4.1\hardware\arduino\avr\libraries\SPI/SPI.h:16, from MQTTGateway.ino:59: MyMQTT.h:56:12: error: variable 'V_0' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_0[] PROGMEM = "TEMP"; //V_TEMP ^ MyMQTT.h:57:12: error: variable 'V_1' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_1[] PROGMEM = "HUM"; //V_HUM ^ MyMQTT.h:58:12: error: variable 'V_2' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_2[] PROGMEM = "LIGHT"; //V_LIGHT ^ MyMQTT.h:59:12: error: variable 'V_3' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_3[] PROGMEM = "DIMMER"; //V_DIMMER ^ MyMQTT.h:60:12: error: variable 'V_4' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_4[] PROGMEM = "PRESSURE"; //V_PRESSURE ^ MyMQTT.h:61:12: error: variable 'V_5' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_5[] PROGMEM = "FORECAST"; //V_FORECAST ^ MyMQTT.h:62:12: error: variable 'V_6' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_6[] PROGMEM = "RAIN"; //V_RAIN ^ MyMQTT.h:63:12: error: variable 'V_7' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_7[] PROGMEM = "RAINRATE"; //V_RAINRATE ^ MyMQTT.h:64:12: error: variable 'V_8' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_8[] PROGMEM = "WIND"; //V_WIND ^ MyMQTT.h:65:12: error: variable 'V_9' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_9[] PROGMEM = "GUST"; //V_GUST ^ MyMQTT.h:66:13: error: variable 'V_10' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_10[] PROGMEM = "DIRECTON"; //V_DIRECTON ^ MyMQTT.h:67:13: error: variable 'V_11' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_11[] PROGMEM = "UV"; //V_UV ^ MyMQTT.h:68:13: error: variable 'V_12' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_12[] PROGMEM = "WEIGHT"; //V_WEIGHT ^ MyMQTT.h:69:13: error: variable 'V_13' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_13[] PROGMEM = "DISTANCE"; //V_DISTANCE ^ MyMQTT.h:70:13: error: variable 'V_14' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_14[] PROGMEM = "IMPEDANCE"; //V_IMPEDANCE ^ MyMQTT.h:71:13: error: variable 'V_15' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_15[] PROGMEM = "ARMED"; //V_ARMED ^ MyMQTT.h:72:13: error: variable 'V_16' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_16[] PROGMEM = "TRIPPED"; //V_TRIPPED ^ MyMQTT.h:73:13: error: variable 'V_17' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_17[] PROGMEM = "WATT"; //V_WATT ^ MyMQTT.h:74:13: error: variable 'V_18' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_18[] PROGMEM = "KWH"; //V_KWH ^ MyMQTT.h:75:13: error: variable 'V_19' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_19[] PROGMEM = "SCENE_ON"; //V_SCENE_ON ^ MyMQTT.h:76:13: error: variable 'V_20' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_20[] PROGMEM = "SCENE_OFF"; //V_SCENE_OFF ^ MyMQTT.h:77:13: error: variable 'V_21' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_21[] PROGMEM = "HEATER"; //V_HEATER ^ MyMQTT.h:78:13: error: variable 'V_22' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_22[] PROGMEM = "HEATER_SW"; //V_HEATER_SW ^ MyMQTT.h:79:13: error: variable 'V_23' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_23[] PROGMEM = "LIGHT_LEVEL"; //V_LIGHT_LEVEL ^ MyMQTT.h:80:13: error: variable 'V_24' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_24[] PROGMEM = "VAR1"; //V_VAR1 ^ MyMQTT.h:81:13: error: variable 'V_25' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_25[] PROGMEM = "VAR2"; //V_VAR2 ^ MyMQTT.h:82:13: error: variable 'V_26' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_26[] PROGMEM = "VAR3"; //V_VAR3 ^ MyMQTT.h:83:13: error: variable 'V_27' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_27[] PROGMEM = "VAR4"; //V_VAR4 ^ MyMQTT.h:84:13: error: variable 'V_28' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_28[] PROGMEM = "VAR5"; //V_VAR5 ^ MyMQTT.h:85:13: error: variable 'V_29' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_29[] PROGMEM = "UP"; //V_UP ^ MyMQTT.h:86:13: error: variable 'V_30' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_30[] PROGMEM = "DOWN"; //V_DOWN ^ MyMQTT.h:87:13: error: variable 'V_31' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_31[] PROGMEM = "STOP"; //V_STOP ^ MyMQTT.h:88:13: error: variable 'V_32' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_32[] PROGMEM = "IR_SEND"; //V_IR_SEND ^ MyMQTT.h:89:13: error: variable 'V_33' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_33[] PROGMEM = "IR_RECEIVE"; //V_IR_RECEIVE ^ MyMQTT.h:90:13: error: variable 'V_34' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_34[] PROGMEM = "FLOW"; //V_FLOW ^ MyMQTT.h:91:13: error: variable 'V_35' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_35[] PROGMEM = "VOLUME"; //V_VOLUME ^ MyMQTT.h:92:13: error: variable 'V_36' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_36[] PROGMEM = "LOCK_STATUS"; //V_LOCK_STATUS ^ MyMQTT.h:93:13: error: variable 'V_37' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_37[] PROGMEM = "DUST_LEVEL"; //V_DUST_LEVEL ^ MyMQTT.h:94:13: error: variable 'V_38' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_38[] PROGMEM = "VOLTAGE"; //V_VOLTAGE ^ MyMQTT.h:95:13: error: variable 'V_39' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_39[] PROGMEM = "CURRENT"; //V_CURRENT ^ MyMQTT.h:96:13: error: variable 'V_40' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_40[] PROGMEM = ""; // ^ MyMQTT.h:97:13: error: variable 'V_41' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_41[] PROGMEM = ""; // ^ MyMQTT.h:98:13: error: variable 'V_42' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_42[] PROGMEM = ""; // ^ MyMQTT.h:99:13: error: variable 'V_43' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_43[] PROGMEM = ""; // ^ MyMQTT.h:100:13: error: variable 'V_44' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_44[] PROGMEM = ""; // ^ MyMQTT.h:101:13: error: variable 'V_45' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_45[] PROGMEM = ""; // ^ MyMQTT.h:102:13: error: variable 'V_46' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_46[] PROGMEM = ""; // ^ MyMQTT.h:103:13: error: variable 'V_47' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_47[] PROGMEM = ""; // ^ MyMQTT.h:104:13: error: variable 'V_48' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_48[] PROGMEM = ""; // ^ MyMQTT.h:105:13: error: variable 'V_49' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_49[] PROGMEM = ""; // ^ MyMQTT.h:106:13: error: variable 'V_50' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_50[] PROGMEM = ""; // ^ MyMQTT.h:107:13: error: variable 'V_51' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_51[] PROGMEM = ""; // ^ MyMQTT.h:108:13: error: variable 'V_52' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_52[] PROGMEM = ""; // ^ MyMQTT.h:109:13: error: variable 'V_53' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_53[] PROGMEM = ""; // ^ MyMQTT.h:110:13: error: variable 'V_54' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_54[] PROGMEM = ""; // ^ MyMQTT.h:111:13: error: variable 'V_55' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_55[] PROGMEM = ""; // ^ MyMQTT.h:112:13: error: variable 'V_56' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_56[] PROGMEM = ""; // ^ MyMQTT.h:113:13: error: variable 'V_57' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_57[] PROGMEM = ""; // ^ MyMQTT.h:114:13: error: variable 'V_58' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_58[] PROGMEM = ""; // ^ MyMQTT.h:115:13: error: variable 'V_59' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_59[] PROGMEM = ""; // ^ MyMQTT.h:116:13: error: variable 'V_60' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_60[] PROGMEM = "DEFAULT"; //Custom for MQTTGateway ^ MyMQTT.h:117:13: error: variable 'V_61' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_61[] PROGMEM = "SKETCH_NAME"; //Custom for MQTTGateway ^ MyMQTT.h:118:13: error: variable 'V_62' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_62[] PROGMEM = "SKETCH_VERSION"; //Custom for MQTTGateway ^ MyMQTT.h:119:13: error: variable 'V_63' must be const in order to be put into read-only section by means of '__attribute__((progmem))' char V_63[] PROGMEM = "UNKNOWN"; //Custom for MQTTGateway ^ In file included from MQTTGateway.ino:63:0: MyMQTT.h:123:27: error: variable 'vType' must be const in order to be put into read-only section by means of '__attribute__((progmem))' PROGMEM const char *vType[] = { ^ In file included from D:\Arduino_1.4.1\hardware\arduino\avr\cores\arduino/Arduino.h:28:0, from D:\Arduino_1.4.1\hardware\arduino\avr\libraries\SPI/SPI.h:16, from MQTTGateway.ino:59: MQTTGateway.ino:99:15: error: variable 'broker' must be const in order to be put into read-only section by means of '__attribute__((progmem))' Error compiling.