Added a "#pragma GCC diagnostic push/ignored/pop" around unsupported API functions, to avoid compiler warnings.
The write method must return the number of byte successfully written (1 in this case). This fixes the library with the latest AVR core that stops writing on error: 25d81c98e4 Without this patch the LCD shows only the first charater of a string.
25d81c98e4