implicit declaration of e_comp_editor_get_property_part
- evolution-ews 3.46.0 with 3c3193ad
- Debian Unstable
evolution-ews git master fails to build.
-Werror-implicit-function-declaration
is set and the commit introduces an implicit declaration.
Build Log
Click Maybe-Failed at https://buildd.debian.org/status/logs.php?pkg=evolution-ews&arch=amd64 for the full log
/<<PKGBUILDDIR>>/src/EWS/evolution/e-ews-comp-editor-extension.c:
In function ‘e_ews_comp_editor_extension_target_client_changed_cb’:
/<<PKGBUILDDIR>>/src/EWS/evolution/e-ews-comp-editor-extension.c:60:16:
error: implicit declaration of function ‘e_comp_editor_get_property_part’;
did you mean ‘e_comp_editor_page_add_property_part’? [-Werror=implicit-function-declaration]
60 | part = e_comp_editor_get_property_part (comp_editor, I_CAL_SUMMARY_PROPERTY);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| e_comp_editor_page_add_property_part
/<<PKGBUILDDIR>>/src/EWS/evolution/e-ews-comp-editor-extension.c:60:16: warning:
nested extern declaration of ‘e_comp_editor_get_property_part’ [-Wnested-externs]
/<<PKGBUILDDIR>>/src/EWS/evolution/e-ews-comp-editor-extension.c:60:14: warning:
assignment to ‘ECompEditorPropertyPart *’ {aka ‘struct _ECompEditorPropertyPart *’}
from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
60 | part = e_comp_editor_get_property_part (comp_editor, I_CAL_SUMMARY_PROPERTY);
| ^
/<<PKGBUILDDIR>>/src/EWS/evolution/e-ews-comp-editor-extension.c:69:14: warning: assignment to
‘ECompEditorPropertyPart *’ {aka ‘struct _ECompEditorPropertyPart *’} from ‘int’ makes pointer
from integer without a cast [-Wint-conversion]
69 | part = e_comp_editor_get_property_part (comp_editor, I_CAL_LOCATION_PROPERTY);