We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When compiling in the latest firmware, I receive the following errors:
LoadAppManifest, line 32, in file "/home/cds/source/flipperzero-firmware/scripts/fbt_tools/fbt_apps.py" ICONS build/f7-firmware-D/.extapps/metronome/metronome_icons.c CC applications_user/Metronome/metronome.c applications_user/Metronome/metronome.c: In function 'render_callback': applications_user/Metronome/metronome.c:64:43: error: implicit declaration of function 'acquire_mutex' [-Werror=implicit-function-declaration] 64 | const MetronomeState* metronome_state = acquire_mutex((ValueMutex*)ctx, 25); | ^~~~~~~~~~~~~ applications_user/Metronome/metronome.c:64:58: error: 'ValueMutex' undeclared (first use in this function) 64 | const MetronomeState* metronome_state = acquire_mutex((ValueMutex*)ctx, 25); | ^~~~~~~~~~ applications_user/Metronome/metronome.c:64:58: note: each undeclared identifier is reported only once for each function it appears in applications_user/Metronome/metronome.c:64:69: error: expected expression before ')' token 64 | MetronomeState* metronome_state = acquire_mutex((ValueMutex*)ctx, 25); | ^ applications_user/Metronome/metronome.c:116:3: error: implicit declaration of function 'release_mutex' [-Werror=implicit-function-declaration] 116 | release_mutex((ValueMutex*)ctx, metronome_state); | ^~~~~~~~~~~~~ applications_user/Metronome/metronome.c:116:29: error: expected expression before ')' token 116 | release_mutex((ValueMutex*)ctx, metronome_state); | ^ applications_user/Metronome/metronome.c:63:57: error: unused parameter 'ctx' [-Werror=unused-parameter] 63 | static void render_callback(Canvas* const canvas, void* ctx) { | ~~~~~~^~~ applications_user/Metronome/metronome.c: In function 'timer_callback': applications_user/Metronome/metronome.c:128:52: error: 'ValueMutex' undeclared (first use in this function) 128 | MetronomeState* metronome_state = acquire_mutex((ValueMutex*)ctx, 25); | ^~~~~~~~~~ applications_user/Metronome/metronome.c:128:63: error: expected expression before ')' token 128 | MetronomeState* metronome_state = acquire_mutex((ValueMutex*)ctx, 25); | ^ applications_user/Metronome/metronome.c:189:29: error: expected expression before ')' token 189 | release_mutex((ValueMutex*)ctx, metronome_state); | ^ applications_user/Metronome/metronome.c:126:34: error: unused parameter 'ctx' [-Werror=unused-parameter] 126 | static void timer_callback(void* ctx) { | ~~~~~~^~~ applications_user/Metronome/metronome.c: In function 'metronome_app': applications_user/Metronome/metronome.c:265:3: error: unknown type name 'ValueMutex' 265 | ValueMutex state_mutex; | ^~~~~~~~~~ applications_user/Metronome/metronome.c:266:7: error: implicit declaration of function 'init_mutex' [-Werror=implicit-function-declaration] 266 | if(!init_mutex(&state_mutex, metronome_state, sizeof(MetronomeState))) { | ^~~~~~~~~~ applications_user/Metronome/metronome.c:287:56: error: implicit declaration of function 'acquire_mutex_block' [-Werror=implicit-function-declaration] 287 | MetronomeState* metronome_state = (MetronomeState*)acquire_mutex_block(&state_mutex); | ^~~~~~~~~~~~~~~~~~~ applications_user/Metronome/metronome.c:379:3: error: implicit declaration of function 'delete_mutex' [-Werror=implicit-function-declaration] 379 | delete_mutex(&state_mutex); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors SDKCHK firmware/targets/f7/api_symbols.csv scons: *** [build/f7-firmware-D/.extapps/metronome/metronome.o] Error 1 API version 18.1 is up to date ********** FBT ERRORS ********** build/f7-firmware-D/.extapps/metronome/metronome.o: Error 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When compiling in the latest firmware, I receive the following errors:
The text was updated successfully, but these errors were encountered: