C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/core_pins.h: At global scope:
C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/core_pins.h:2077:74: error: 'uint32_t millis()' was declared 'extern' and later 'static' [-fpermissive]
static inline uint32_t millis(void) __attribute__((always_inline, unused));
^
In file included from sketch\ks0108example.pde.cpp:1:0:
C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:132:15: error: previous declaration of 'long unsigned int millis()' [-fpermissive]
unsigned long millis(void);
^
In file included from C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/wiring.h:9:0,
from C:\Users\farin\Documents\Arduino\libraries\Menu/WProgram.h:10,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/Streaming.h:24,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:30,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/core_pins.h:2096:74: error: 'uint32_t micros()' was declared 'extern' and later 'static' [-fpermissive]
static inline uint32_t micros(void) __attribute__((always_inline, unused));
^
In file included from sketch\ks0108example.pde.cpp:1:0:
C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:133:15: error: previous declaration of 'long unsigned int micros()' [-fpermissive]
unsigned long micros(void);
^
In file included from C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/wiring.h:9:0,
from C:\Users\farin\Documents\Arduino\libraries\Menu/WProgram.h:10,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/Streaming.h:24,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:30,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/core_pins.h:2105:85: error: 'void delayMicroseconds(uint16_t)' was declared 'extern' and later 'static' [-fpermissive]
static inline void delayMicroseconds(uint16_t) __attribute__((always_inline, unused));
^
In file included from sketch\ks0108example.pde.cpp:1:0:
C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:135:6: error: previous declaration of 'void delayMicroseconds(unsigned int)' [-fpermissive]
void delayMicroseconds(unsigned int us);
^
In file included from C:\Users\farin\Documents\Arduino\libraries\Menu/WProgram.h:10:0,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/Streaming.h:24,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:30,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/wiring.h:72:17: error: conflicting declaration 'typedef uint8_t boolean'
typedef uint8_t boolean;
^
In file included from sketch\ks0108example.pde.cpp:1:0:
C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:117:14: error: 'boolean' has a previous declaration as 'typedef bool boolean'
typedef bool boolean;
^
In file included from C:\Users\farin\Documents\Arduino\libraries\Menu/WProgram.h:10:0,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/Streaming.h:24,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:30,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/wiring.h:78:59: error: declaration of C function 'void attachInterrupt(uint8_t, void (*)(), uint8_t)' conflicts with
void attachInterrupt(uint8_t, void (*)(void), uint8_t mode);
^
In file included from sketch\ks0108example.pde.cpp:1:0:
C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:142:6: error: previous declaration 'void attachInterrupt(uint8_t, void (*)(), int)' here
void attachInterrupt(uint8_t, void (*)(void), int mode);
^
In file included from C:\Users\farin\Documents\Arduino\libraries\glcd/include/Streaming.h:24:0,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:30,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\Menu/WProgram.h:20:83: error: default argument given for parameter 3 of 'long unsigned int pulseIn(uint8_t, uint8_t, long unsigned int)' [-fpermissive]
unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout = 1000000L);
^
In file included from C:\Users\farin\Documents\Arduino\libraries\Menu/WProgram.h:10:0,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/Streaming.h:24,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:30,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\Arduino Menu-master/wiring.h:75:15: error: after previous specification in 'long unsigned int pulseIn(uint8_t, uint8_t, long unsigned int)' [-fpermissive]
unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout);
^
In file included from C:\Users\farin\Documents\Arduino\libraries\glcd/include/Streaming.h:24:0,
from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:30,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\Menu/WProgram.h:22:75: error: default argument given for parameter 3 of 'void tone(uint8_t, unsigned int, long unsigned int)' [-fpermissive]
void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
^
In file included from sketch\ks0108example.pde.cpp:1:0:
C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:238:6: error: after previous specification in 'void tone(uint8_t, unsigned int, long unsigned int)' [-fpermissive]
void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0);
^
In file included from C:\Users\farin\Documents\Arduino\libraries\glcd/include/gText.h:31:0,
from C:\Users\farin\Documents\Arduino\libraries\glcd/glcd.h:40,
from C:\Users\farin\Documents\Arduino\libraries\glcd\ex amples\ks0108example\ks0108example.pde:12:
C:\Users\farin\Documents\Arduino\libraries\glcd/include/glcd_Device.h:85:7: error: conflicting return type specified for 'virtual void glcd_Device::write(uint8_t)'
void write(uint8_t); // for Print base class
^
In file included from C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Stream.h:26:0,
from C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29,
from C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:224,
from sketch\ks0108example.pde.cpp:1:
C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Print.h:48:20: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
^
In file included from C:\Users\farin\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,
from sketch\ks0108example.pde.cpp:1:
C:\Users\farin\Documents\Arduino\libraries\glcd/fonts/Arial14.h:55:27: error: variable 'Arial_14' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
static uint8_t Arial_14[] PROGMEM = {
^
C:\Users\farin\Documents\Arduino\libraries\glcd/fonts/SystemFont5x7.h:48:28: error: variable 'System5x7' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
static uint8_t System5x7[] PROGMEM = {
^
C:\Users\farin\Documents\Arduino\libraries\glcd/bitmaps/ArduinoIcon64x64.h:11:35: error: variable 'ArduinoIcon64x64' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
static uint8_t ArduinoIcon64x64[] PROGMEM = {
^
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.