You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
Hi
maybe I've missed something, but at the moment the online python IDE doens't seem to work
I'm facing with these strange behaviours:
The compilation works only with TAS flag, but I wanted to experiment with drawing primitives
If I modify the source, its not reflected in the compiled program, I had to refresh the whole page several times. I've aslo tried delete the browser - cache - data, eg. local storage / indexDB...
In non-TAS mode the c++ compiler throws error, like this:
Error: ERROR: Error: Command failed: /app/build.sh 6 1
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoBattery.h:44,
from PokittoLib/POKITTO_CORE/PokittoBattery.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoButtons.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoConsole.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'int updateLoader(uint32_t, uint32_t)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:200:9: warning: variable 'opg' set but not used [-Wunused-but-set-variable]
int opg=-1;
^~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'void pokitto_jumpToLoader(bool)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:301:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (fileOpen("LOA.DER", FILE_MODE_BINARY)==0) {
^
PokittoLib/POKITTO_CORE/PokittoCore.cpp:296:14: warning: unused variable 'bootversion' [-Wunused-variable]
uint32_t bootversion=0, sdversion=0, sdjump=0;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoCore.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void emptyFname()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:83:43: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
for (int i=0; i<13; i++) fno.fname[i]=NULL;
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getFirstDirEntry()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:116:31: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
return getFirstDirEntry("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getNextFile(char)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:160:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) return NULL; //end of files
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getNextFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:170:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getNextFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*, char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:189:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) break; //end of directory reached, no files found
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:196:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile(ext, "");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char fileGetChar()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:247:9: warning: unused variable 'err' [-Wunused-variable]
int err = PFFS::pf_read(buff, 1, &br); /* Read data to the buff[] /
^~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void fileSeekRelative(long int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:26: warning: comparison of integer expressions of different signedness: 'PFFS::DWORD' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
~~~~~~~~^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'int fileReadLine(char, int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:307:15: warning: NULL used in arithmetic [-Wpointer-arith]
while (c!=NULL) {
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:313:52: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
if (c=='\n' || c=='\r' || n==maxchars-1) c=NULL; //prevent buffer overflow
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp: In function 'void ShowCrashScreenAndWait(const char*, const char*, const char*, const char*, const char*)':
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1136:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine1, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1137:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine2, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1138:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine3, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1140:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine4, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1141:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine5, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:72:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp: In static member function 'static int Pokitto::Display::bufferChar(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::bgcolor' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
uint8_t colors[] = {bgcolor, color};
^
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::color' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/TASMODE.cpp:96:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:158:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:285:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:663:13: warning: "/" within comment [-Wcomment]
/ */
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::loadRGBPalette(const unsigned char)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:53:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::load565Palette(const uint16_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::rotatePalette(int8_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:69:26: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=step;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:74:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE+step;i++)
~^~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:84:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0; i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoPalette.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoSound.h:45,
from PokittoLib/POKITTO_CORE/PokittoSound.cpp:64:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/HWButtons.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdPixel(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:399:23: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:399:54: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdTile(int16_t, int16_t, int16_t, int16_t, uint16_t*)':
PokittoLib/POKITTO_HW/HWLCD.cpp:423:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:424:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdRectangle(int16_t, int16_t, int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:442:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:443:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:444:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x1 > POK_LCD_W) x1=POK_LCD_W;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:445:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y1 > POK_LCD_H) y1=POK_LCD_H;
~~~^~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWLCD.cpp:37:
PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWSound.cpp: In function 'uint8_t mixSound()':
PokittoLib/POKITTO_HW/HWSound.cpp:439:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if( currentPos >= snd[s].currentSoundSize){
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWSound.cpp:479:
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h: In function 'void pokSoundIRQ()':
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h:44:14: warning: unused variable 'o' [-Wunused-variable]
uint32_t o = 0;
^
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_HW/HWSound.cpp:43:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoClock.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoHW.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return *this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp: In function 'int CopyPageToFlash(uint32_t, uint8_t)':
PokittoLib/POKITTO_HW/iap.cpp:34:14: warning: unused variable 'writecount' [-Wunused-variable]
uint32_t writecount=0;
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp:37:26: warning: unused variable 'page' [-Wunused-variable]
unsigned int sector, page;
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:8,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_Settings.hpp:25:5: error: #error TASUI requires TASMODE or TASMODELOW
error TASUI requires TASMODE or TASMODELOW
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
child_process.js:644
throw err;
^
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
at checkExecSyncError (child_process.js:601:13)
at execSync (child_process.js:641:13)
at CXXSOURCES.forEach.src (/app/jake.js:384:5)
at Array.forEach (<anonymous>)
at Object.<anonymous> (/app/jake.js:379:12)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
cp: cannot stat '/app/builds/6/build.bin': No such file or directory
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoBattery.h:44,
from PokittoLib/POKITTO_CORE/PokittoBattery.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoButtons.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoConsole.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'int updateLoader(uint32_t, uint32_t)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:200:9: warning: variable 'opg' set but not used [-Wunused-but-set-variable]
int opg=-1;
^~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'void pokitto_jumpToLoader(bool)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:301:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (fileOpen("LOA.DER", FILE_MODE_BINARY)==0) {
^
PokittoLib/POKITTO_CORE/PokittoCore.cpp:296:14: warning: unused variable 'bootversion' [-Wunused-variable]
uint32_t bootversion=0, sdversion=0, sdjump=0;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoCore.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void emptyFname()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:83:43: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
for (int i=0; i<13; i++) fno.fname[i]=NULL;
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getFirstDirEntry()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:116:31: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
return getFirstDirEntry("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getNextFile(char)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:160:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) return NULL; //end of files
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getNextFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:170:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getNextFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*, char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:189:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) break; //end of directory reached, no files found
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:196:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile(ext, "");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char fileGetChar()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:247:9: warning: unused variable 'err' [-Wunused-variable]
int err = PFFS::pf_read(buff, 1, &br); /* Read data to the buff[] /
^~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void fileSeekRelative(long int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:26: warning: comparison of integer expressions of different signedness: 'PFFS::DWORD' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
~~~~~~~~^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'int fileReadLine(char, int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:307:15: warning: NULL used in arithmetic [-Wpointer-arith]
while (c!=NULL) {
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:313:52: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
if (c=='\n' || c=='\r' || n==maxchars-1) c=NULL; //prevent buffer overflow
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp: In function 'void ShowCrashScreenAndWait(const char*, const char*, const char*, const char*, const char*)':
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1136:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine1, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1137:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine2, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1138:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine3, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1140:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine4, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1141:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine5, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:72:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp: In static member function 'static int Pokitto::Display::bufferChar(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::bgcolor' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
uint8_t colors[] = {bgcolor, color};
^
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::color' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/TASMODE.cpp:96:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:158:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:285:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:663:13: warning: "/" within comment [-Wcomment]
/ */
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::loadRGBPalette(const unsigned char)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:53:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::load565Palette(const uint16_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::rotatePalette(int8_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:69:26: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=step;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:74:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE+step;i++)
~^~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:84:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0; i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoPalette.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoSound.h:45,
from PokittoLib/POKITTO_CORE/PokittoSound.cpp:64:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/HWButtons.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdPixel(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:399:23: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:399:54: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdTile(int16_t, int16_t, int16_t, int16_t, uint16_t*)':
PokittoLib/POKITTO_HW/HWLCD.cpp:423:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:424:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdRectangle(int16_t, int16_t, int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:442:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:443:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:444:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x1 > POK_LCD_W) x1=POK_LCD_W;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:445:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y1 > POK_LCD_H) y1=POK_LCD_H;
~~~^~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWLCD.cpp:37:
PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWSound.cpp: In function 'uint8_t mixSound()':
PokittoLib/POKITTO_HW/HWSound.cpp:439:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if( currentPos >= snd[s].currentSoundSize){
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWSound.cpp:479:
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h: In function 'void pokSoundIRQ()':
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h:44:14: warning: unused variable 'o' [-Wunused-variable]
uint32_t o = 0;
^
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_HW/HWSound.cpp:43:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoClock.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoHW.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return *this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp: In function 'int CopyPageToFlash(uint32_t, uint8_t)':
PokittoLib/POKITTO_HW/iap.cpp:34:14: warning: unused variable 'writecount' [-Wunused-variable]
uint32_t writecount=0;
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp:37:26: warning: unused variable 'page' [-Wunused-variable]
unsigned int sector, page;
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:8,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_Settings.hpp:25:5: error: #error TASUI requires TASMODE or TASMODELOW
error TASUI requires TASMODE or TASMODELOW
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
child_process.js:644
throw err;
^
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
at checkExecSyncError (child_process.js:601:13)
at execSync (child_process.js:641:13)
at CXXSOURCES.forEach.src (/app/jake.js:384:5)
at Array.forEach (<anonymous>)
at Object.<anonymous> (/app/jake.js:379:12)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
cp: cannot stat '/app/builds/6/build.bin': No such file or directory
true 1
at https://pokittopython.herokuapp.com/compile.js:80:23
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
maybe I've missed something, but at the moment the online python IDE doens't seem to work
I'm facing with these strange behaviours:
Error: ERROR: Error: Command failed: /app/build.sh 6 1
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoBattery.h:44,
from PokittoLib/POKITTO_CORE/PokittoBattery.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoButtons.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoConsole.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'int updateLoader(uint32_t, uint32_t)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:200:9: warning: variable 'opg' set but not used [-Wunused-but-set-variable]
int opg=-1;
^~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'void pokitto_jumpToLoader(bool)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:301:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (fileOpen("LOA.DER", FILE_MODE_BINARY)==0) {
^
PokittoLib/POKITTO_CORE/PokittoCore.cpp:296:14: warning: unused variable 'bootversion' [-Wunused-variable]
uint32_t bootversion=0, sdversion=0, sdjump=0;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoCore.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void emptyFname()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:83:43: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
for (int i=0; i<13; i++) fno.fname[i]=NULL;
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getFirstDirEntry()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:116:31: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
return getFirstDirEntry("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getNextFile(char)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:160:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) return NULL; //end of files
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getNextFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:170:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getNextFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*, char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:189:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) break; //end of directory reached, no files found
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:196:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile(ext, "");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char fileGetChar()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:247:9: warning: unused variable 'err' [-Wunused-variable]
int err = PFFS::pf_read(buff, 1, &br); /* Read data to the buff[] /
^~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void fileSeekRelative(long int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:26: warning: comparison of integer expressions of different signedness: 'PFFS::DWORD' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
~~~~~~~~^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'int fileReadLine(char, int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:307:15: warning: NULL used in arithmetic [-Wpointer-arith]
while (c!=NULL) {
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:313:52: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
if (c=='\n' || c=='\r' || n==maxchars-1) c=NULL; //prevent buffer overflow
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp: In function 'void ShowCrashScreenAndWait(const char*, const char*, const char*, const char*, const char*)':
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1136:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine1, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1137:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine2, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1138:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine3, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1140:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine4, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1141:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine5, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:72:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp: In static member function 'static int Pokitto::Display::bufferChar(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::bgcolor' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
uint8_t colors[] = {bgcolor, color};
^
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::color' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/TASMODE.cpp:96:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:158:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:285:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:663:13: warning: "/" within comment [-Wcomment]
/ */
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::loadRGBPalette(const unsigned char)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:53:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::load565Palette(const uint16_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::rotatePalette(int8_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:69:26: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=step;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:74:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE+step;i++)
~^~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:84:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0; i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoPalette.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoSound.h:45,
from PokittoLib/POKITTO_CORE/PokittoSound.cpp:64:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/HWButtons.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdPixel(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:399:23: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:399:54: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdTile(int16_t, int16_t, int16_t, int16_t, uint16_t*)':
PokittoLib/POKITTO_HW/HWLCD.cpp:423:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:424:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdRectangle(int16_t, int16_t, int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:442:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:443:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:444:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x1 > POK_LCD_W) x1=POK_LCD_W;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:445:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y1 > POK_LCD_H) y1=POK_LCD_H;
~~~^~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWLCD.cpp:37:
PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWSound.cpp: In function 'uint8_t mixSound()':
PokittoLib/POKITTO_HW/HWSound.cpp:439:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if( currentPos >= snd[s].currentSoundSize){
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWSound.cpp:479:
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h: In function 'void pokSoundIRQ()':
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h:44:14: warning: unused variable 'o' [-Wunused-variable]
uint32_t o = 0;
^
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_HW/HWSound.cpp:43:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoClock.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoHW.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return *this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp: In function 'int CopyPageToFlash(uint32_t, uint8_t)':
PokittoLib/POKITTO_HW/iap.cpp:34:14: warning: unused variable 'writecount' [-Wunused-variable]
uint32_t writecount=0;
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp:37:26: warning: unused variable 'page' [-Wunused-variable]
unsigned int sector, page;
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:8,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_Settings.hpp:25:5: error: #error TASUI requires TASMODE or TASMODELOW
error TASUI requires TASMODE or TASMODELOW
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
child_process.js:644
throw err;
^
Error: Command failed: ../../gcc-arm-none-eabi/bin/arm-none-eabi-g++ -std=c++17 -fno-rtti -Wvla -c -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -fno-builtin -ffunction-sections -fdata-sections -funsigned-char -MMD -fno-delete-null-pointer-checks -fomit-frame-pointer -Os -g1 -DMBED_RTOS_SINGLE_THREAD -mcpu=cortex-m0plus -mthumb -D_OSCT=2 -std=c++17 -fno-rtti -Wvla -DTARGET_LPC11U68 -D__MBED__=1 -DDEVICE_I2CSLAVE=1 -DTARGET_LIKE_MBED -DTARGET_NXP -D__MBED_CMSIS_RTOS_CM -DDEVICE_RTC=1 -DTOOLCHAIN_object -D__CMSIS_RTOS -DTOOLCHAIN_GCC -DTARGET_CORTEX_M -DTARGET_M0P -DTARGET_UVISOR_UNSUPPORTED -DMBED_BUILD_TIMESTAMP=1526086019.89 -DDEVICE_SERIAL=1 -DDEVICE_INTERRUPTIN=1 -DTARGET_LPCTarget -DTARGET_CORTEX -DDEVICE_I2C=1 -D__CORTEX_M0PLUS -DTARGET_FF_ARDUINO -DTARGET_RELEASE -DARM_MATH_CM0PLUS -DTARGET_LPC11U6X -DDEVICE_SLEEP=1 -DTOOLCHAIN_GCC_ARM -DDEVICE_SPI=1 -DDEVICE_ANALOGIN=1 -DDEVICE_PWMOUT=1 -DTARGET_LIKE_CORTEX_M0 -I./. -I./PokittoLib -I./PokittoLib/POKITTO_CORE -I./PokittoLib/POKITTO_CORE/FONTS -I./PokittoLib/POKITTO_CORE/PALETTES -I./PokittoLib/POKITTO_HW -I./PokittoLib/POKITTO_LIBS -I./PokittoLib/POKITTO_LIBS/PokittoTUI -I./PokittoLib/POKITTO_LIBS/PokittoTUI/UITILESETS -I./PokittoLib/POKITTO_LIBS/Tilemap -I./PokittoLib/POKITTO_LIBS/MemOps -I./PokittoLib/POKITTO_LIBS/File -I./PokittoLib/POKITTO_LIBS/ImageFormat -I./PokittoLib/POKITTO_LIBS/Synth -I./PokittoLib/POKITTO_LIBS/USBDevice -I./PokittoLib/POKITTO_LIBS/USBDevice/USBDevice -I./PokittoLib/POKITTO_LIBS/USBDevice/USBSerial -I./PokittoLib/POKITTO_XTERNALS -I./PokittoLib/POKITTO_XTERNALS/Arduino -I./PokittoLib/libpff -I./PokittoLib/mbed-pokitto -I./PokittoLib/mbed-pokitto/api -I./PokittoLib/mbed-pokitto/common -I./PokittoLib/mbed-pokitto/hal -I./PokittoLib/mbed-pokitto/targets -I./PokittoLib/mbed-pokitto/targets/cmsis -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68 -I./PokittoLib/mbed-pokitto/targets/cmsis/TOOLCHAIN_GCC -I./PokittoLib/mbed-pokitto/targets/hal -I./PokittoLib/mbed-pokitto/targets/hal/TARGET_NXP -I./PokittoLib/mbed-pokitto/targets/hal/TARGET_NXP/TARGET_LPC11U6X -o tasui_UI.o PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:8,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_Settings.hpp:25:5: error: #error TASUI requires TASMODE or TASMODELOW
error TASUI requires TASMODE or TASMODELOW
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
cp: cannot stat '/app/builds/6/build.bin': No such file or directory
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoBattery.h:44,
from PokittoLib/POKITTO_CORE/PokittoBattery.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoButtons.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoConsole.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'int updateLoader(uint32_t, uint32_t)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:200:9: warning: variable 'opg' set but not used [-Wunused-but-set-variable]
int opg=-1;
^~~
PokittoLib/POKITTO_CORE/PokittoCore.cpp: In function 'void pokitto_jumpToLoader(bool)':
PokittoLib/POKITTO_CORE/PokittoCore.cpp:301:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
if (fileOpen("LOA.DER", FILE_MODE_BINARY)==0) {
^
PokittoLib/POKITTO_CORE/PokittoCore.cpp:296:14: warning: unused variable 'bootversion' [-Wunused-variable]
uint32_t bootversion=0, sdversion=0, sdjump=0;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_CORE/PokittoCore.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoCookie.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void emptyFname()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:83:43: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
for (int i=0; i<13; i++) fno.fname[i]=NULL;
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getFirstDirEntry()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:116:31: warning: ISO C++ forbids converting a string constant to 'char' [-Wwrite-strings]
return getFirstDirEntry("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char getNextFile(char)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:160:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) return NULL; //end of files
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getNextFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:170:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getNextFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*, char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:189:27: warning: NULL used in arithmetic [-Wpointer-arith]
if (fno.fname[0]==NULL) break; //end of directory reached, no files found
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile(char*)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:196:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile(ext, "");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char* getFirstFile()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:200:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
return getFirstFile("");
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'char fileGetChar()':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:247:9: warning: unused variable 'err' [-Wunused-variable]
int err = PFFS::pf_read(buff, 1, &br); /* Read data to the buff[] /
^~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'void fileSeekRelative(long int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:26: warning: comparison of integer expressions of different signedness: 'PFFS::DWORD' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
~~~~~~~~^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:274:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (n<0) if (fs.fptr < -n) n=-fs.fptr;
^
PokittoLib/POKITTO_CORE/PokittoDisk.cpp: In function 'int fileReadLine(char, int)':
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:307:15: warning: NULL used in arithmetic [-Wpointer-arith]
while (c!=NULL) {
^~~~
PokittoLib/POKITTO_CORE/PokittoDisk.cpp:313:52: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
if (c=='\n' || c=='\r' || n==maxchars-1) c=NULL; //prevent buffer overflow
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/PokittoDisk.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp: In function 'void ShowCrashScreenAndWait(const char*, const char*, const char*, const char*, const char*)':
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1136:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine1, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1137:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine2, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1138:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine3, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1140:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine4, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1114:60: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'long int'} and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
#define STR_TO_UPPER(str_from, str_to) for( int32_t i=0; i <= strlen(str_from); i++ ) str_to[i] = toupper(str_from[i]);
~~^~~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:1141:30: note: in expansion of macro 'STR_TO_UPPER'
Display::print(" "); STR_TO_UPPER(texLine5, convertedStr); Display::println(convertedStr);
^~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoDisplay.cpp:72:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp: In static member function 'static int Pokitto::Display::bufferChar(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::bgcolor' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
uint8_t colors[] = {bgcolor, color};
^
PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:455:39: warning: narrowing conversion of 'Pokitto::Display::color' from 'uint16_t' {aka 'short unsigned int'} to 'uint8_t' {aka 'unsigned char'} inside { } [-Wnarrowing]
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoFramebuffer.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/TASMODE.cpp:96:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:158:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:285:5: warning: "/" within comment [-Wcomment]
/ */
PokittoLib/POKITTO_CORE/TASMODE.cpp:663:13: warning: "/" within comment [-Wcomment]
/ */
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_CORE/TASMODE.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::loadRGBPalette(const unsigned char)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:53:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::load565Palette(const uint16_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:59:19: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp: In static member function 'static void Pokitto::Display::rotatePalette(int8_t)':
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:69:26: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=step;i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:74:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
for (int i=0;i<PALETTE_SIZE+step;i++)
~^~~~~~~~~~~~~~~~~~
PokittoLib/POKITTO_CORE/PokittoPalette.cpp:84:20: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
for (int i=0; i<PALETTE_SIZE;i++)
~^~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from PokittoLib/POKITTO_CORE/PokittoPalette.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_CORE/PokittoSound.h:45,
from PokittoLib/POKITTO_CORE/PokittoSound.cpp:64:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/HWButtons.cpp:38:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdPixel(int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:399:23: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:399:54: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if ((x < 0) || (x >= POK_LCD_W) || (y < 0) || (y >= POK_LCD_H))
~~^~~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdTile(int16_t, int16_t, int16_t, int16_t, uint16_t*)':
PokittoLib/POKITTO_HW/HWLCD.cpp:423:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:424:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp: In function 'void Pokitto::lcdRectangle(int16_t, int16_t, int16_t, int16_t, uint16_t)':
PokittoLib/POKITTO_HW/HWLCD.cpp:442:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x0 > POK_LCD_W) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:443:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y0 > POK_LCD_H) return;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:444:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (x1 > POK_LCD_W) x1=POK_LCD_W;
~~~^~~~~~~~~~~
PokittoLib/POKITTO_HW/HWLCD.cpp:445:12: warning: comparison of integer expressions of different signedness: 'int16_t' {aka 'short int'} and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if (y1 > POK_LCD_H) y1=POK_LCD_H;
~~~^~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWLCD.cpp:37:
PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/HWSound.cpp: In function 'uint8_t mixSound()':
PokittoLib/POKITTO_HW/HWSound.cpp:439:24: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'long unsigned int'} [-Wsign-compare]
if( currentPos >= snd[s].currentSoundSize){
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from PokittoLib/POKITTO_HW/HWSound.cpp:479:
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h: In function 'void pokSoundIRQ()':
PokittoLib/POKITTO_HW/../POKITTO_CORE/SoundCommonImp.h:44:14: warning: unused variable 'o' [-Wunused-variable]
uint32_t o = 0;
^
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from PokittoLib/POKITTO_HW/HWSound.cpp:43:
./PokittoLib/POKITTO_HW/HWLCD.h: At global scope:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoClock.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from PokittoLib/POKITTO_HW/PokittoHW.cpp:37:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return *this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_HW/Pokitto_extport.cpp:21:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp: In function 'int CopyPageToFlash(uint32_t, uint8_t)':
PokittoLib/POKITTO_HW/iap.cpp:34:14: warning: unused variable 'writecount' [-Wunused-variable]
uint32_t writecount=0;
^~~~~~~~~~
PokittoLib/POKITTO_HW/iap.cpp:37:26: warning: unused variable 'page' [-Wunused-variable]
unsigned int sector, page;
^~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from PokittoLib/POKITTO_LIBS/Tilemap/Tilemap.cpp:2:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:8,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_Settings.hpp:25:5: error: #error TASUI requires TASMODE or TASMODELOW
error TASUI requires TASMODE or TASMODELOW
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
child_process.js:644
throw err;
^
Error: Command failed: ../../gcc-arm-none-eabi/bin/arm-none-eabi-g++ -std=c++17 -fno-rtti -Wvla -c -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fmessage-length=0 -fno-exceptions -fno-builtin -ffunction-sections -fdata-sections -funsigned-char -MMD -fno-delete-null-pointer-checks -fomit-frame-pointer -Os -g1 -DMBED_RTOS_SINGLE_THREAD -mcpu=cortex-m0plus -mthumb -D_OSCT=2 -std=c++17 -fno-rtti -Wvla -DTARGET_LPC11U68 -D__MBED__=1 -DDEVICE_I2CSLAVE=1 -DTARGET_LIKE_MBED -DTARGET_NXP -D__MBED_CMSIS_RTOS_CM -DDEVICE_RTC=1 -DTOOLCHAIN_object -D__CMSIS_RTOS -DTOOLCHAIN_GCC -DTARGET_CORTEX_M -DTARGET_M0P -DTARGET_UVISOR_UNSUPPORTED -DMBED_BUILD_TIMESTAMP=1526086019.89 -DDEVICE_SERIAL=1 -DDEVICE_INTERRUPTIN=1 -DTARGET_LPCTarget -DTARGET_CORTEX -DDEVICE_I2C=1 -D__CORTEX_M0PLUS -DTARGET_FF_ARDUINO -DTARGET_RELEASE -DARM_MATH_CM0PLUS -DTARGET_LPC11U6X -DDEVICE_SLEEP=1 -DTOOLCHAIN_GCC_ARM -DDEVICE_SPI=1 -DDEVICE_ANALOGIN=1 -DDEVICE_PWMOUT=1 -DTARGET_LIKE_CORTEX_M0 -I./. -I./PokittoLib -I./PokittoLib/POKITTO_CORE -I./PokittoLib/POKITTO_CORE/FONTS -I./PokittoLib/POKITTO_CORE/PALETTES -I./PokittoLib/POKITTO_HW -I./PokittoLib/POKITTO_LIBS -I./PokittoLib/POKITTO_LIBS/PokittoTUI -I./PokittoLib/POKITTO_LIBS/PokittoTUI/UITILESETS -I./PokittoLib/POKITTO_LIBS/Tilemap -I./PokittoLib/POKITTO_LIBS/MemOps -I./PokittoLib/POKITTO_LIBS/File -I./PokittoLib/POKITTO_LIBS/ImageFormat -I./PokittoLib/POKITTO_LIBS/Synth -I./PokittoLib/POKITTO_LIBS/USBDevice -I./PokittoLib/POKITTO_LIBS/USBDevice/USBDevice -I./PokittoLib/POKITTO_LIBS/USBDevice/USBSerial -I./PokittoLib/POKITTO_XTERNALS -I./PokittoLib/POKITTO_XTERNALS/Arduino -I./PokittoLib/libpff -I./PokittoLib/mbed-pokitto -I./PokittoLib/mbed-pokitto/api -I./PokittoLib/mbed-pokitto/common -I./PokittoLib/mbed-pokitto/hal -I./PokittoLib/mbed-pokitto/targets -I./PokittoLib/mbed-pokitto/targets/cmsis -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM -I./PokittoLib/mbed-pokitto/targets/cmsis/TARGET_NXP/TARGET_LPC11U6X/TOOLCHAIN_GCC_ARM/TARGET_LPC11U68 -I./PokittoLib/mbed-pokitto/targets/cmsis/TOOLCHAIN_GCC -I./PokittoLib/mbed-pokitto/targets/hal -I./PokittoLib/mbed-pokitto/targets/hal/TARGET_NXP -I./PokittoLib/mbed-pokitto/targets/hal/TARGET_NXP/TARGET_LPC11U6X -o tasui_UI.o PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:8,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_Settings.hpp:25:5: error: #error TASUI requires TASMODE or TASMODELOW
error TASUI requires TASMODE or TASMODELOW
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:42:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^~~~~
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:91:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:70: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:7:110: error: 'lineFillers' is not a member of 'Pokitto::Display'
constexpr auto availableLineFillersCount = sizeof(Pokitto::Display::lineFillers) / sizeof(Pokitto::Display::lineFillers[0]);
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::hide()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:16:36: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller: PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapSpritesUI()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:26:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:30:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:33:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:35:17: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showTileMapUISprites()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:45:37: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
for (auto& lineFiller : PDisplay::lineFillers)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:49:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[0] = TAS::BGTileFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:52:15: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[1] = UI::LineFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:54:16: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[2] = TAS::SpriteFiller;
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp: In static member function 'static void tasui::UI::showOnTop()':
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:69:18: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
if (PDisplay::lineFillers[lastOperatingLineFillerI] != TAS::NOPFiller)
^~~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:73:14: error: 'lineFillers' is not a member of 'PDisplay' {aka 'Pokitto::Display'}
PDisplay::lineFillers[lastOperatingLineFillerI + 1] = &UI::LineFiller;
^~~~~~~~~~~
In file included from PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_UITileMap.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:9,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp: In instantiation of 'bool ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::areCoordsValid(CoordsType, CoordsType) const [with CoordsType = int; unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0]':
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:155:13: required from 'void ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::setTile(int, int, ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile) [with unsigned int columnsP = 19; unsigned int rowsP = 15; unsigned int tileWidthP = 6; unsigned int tileHeightP = 6; unsigned int lineWidthP = 110; bool enableTilesWithDeltasP = false; unsigned int clutSizeP = 0; ptui::TileMap<columnsP, rowsP, tileWidthP, tileHeightP, lineWidthP, enableTilesWithDeltasP, clutSizeP>::Tile = unsigned char]'
PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:107:38: required from here
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~~~~^~~~~~~~~~
PokittoLib/POKITTO_LIBS/PokittoTUI/ptui_TileMap.hpp:306:78: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
return (column >= 0) && (column < columns) && (row >= 0) && (row < rows);
~~~~~^~~~~~~
In file included from ./PokittoLib/Pokitto.h:55,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h: At global scope:
./PokittoLib/POKITTO_HW/PokittoEEPROM.h:144:20: warning: 'EEPROM' defined but not used [-Wunused-variable]
static EEPROMClass EEPROM;
^~~~~~
In file included from ./PokittoLib/POKITTO_CORE/PokittoGlobs.h:48,
from ./PokittoLib/POKITTO_CORE/PokittoDisplay.h:73,
from ./PokittoLib/POKITTO_CORE/PokittoCore.h:57,
from ./PokittoLib/Pokitto.h:44,
from ./PokittoLib/POKITTO_LIBS/PokittoTUI/tasui:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.hpp:4,
from PokittoLib/POKITTO_LIBS/PokittoTUI/tasui_UI.cpp:1:
./PokittoLib/POKITTO_HW/HWLCD.h:164:13: warning: 'void Pokitto::setup_gpio()' defined but not used [-Wunused-function]
static void setup_gpio()
^~~~~~~~~~
cp: cannot stat '/app/builds/6/build.bin': No such file or directory
true 1
The text was updated successfully, but these errors were encountered: