mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
4f66f20bb8
./helper/cinnabar-fast-import.c:127:10: warning: implicit declaration of function 'pool_calloc' is invalid in C99 [-Wimplicit-function-declaration] marks = pool_calloc(1, sizeof(struct mark_set)); ^ ./helper/cinnabar-fast-import.c:127:8: warning: incompatible integer to pointer conversion assigning to 'struct mark_set *' from 'int' [-Wint-conversion] marks = pool_calloc(1, sizeof(struct mark_set)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./helper/cinnabar-fast-import.c:131:12: warning: implicit declaration of function 'pool_alloc' is invalid in C99 [-Wimplicit-function-declaration] rc_free = pool_alloc(cmd_save * sizeof(*rc_free)); ^ ./helper/cinnabar-fast-import.c:131:10: warning: incompatible integer to pointer conversion assigning to 'struct recent_command *' from 'int' [-Wint-conversion] rc_free = pool_alloc(cmd_save * sizeof(*rc_free)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./helper/cinnabar-fast-import.c:136:2: warning: implicit declaration of function 'prepare_packed_git' is invalid in C99 [-Wimplicit-function-declaration] prepare_packed_git(); ^ ./helper/cinnabar-fast-import.c:138:30: error: too few arguments to function call, expected 2, have 1 install_packed_git(pack_data); ~~~~~~~~~~~~~~~~~~ ^ ./packfile.h:38:1: note: 'install_packed_git' declared here extern void install_packed_git(struct repository *r, struct packed_git *pack); ^ ./helper/cinnabar-fast-import.c:139:34: error: use of undeclared identifier 'packed_git_mru' list_add_tail(&pack_data->mru, &packed_git_mru); ^ ./helper/cinnabar-fast-import.c:155:23: error: too few arguments to function call, single argument 'r' was not specified reprepare_packed_git(); ~~~~~~~~~~~~~~~~~~~~ ^ ./packfile.h:37:1: note: 'reprepare_packed_git' declared here extern void reprepare_packed_git(struct repository *r); ^ ./helper/cinnabar-fast-import.c:194:28: error: use of undeclared identifier 'packed_git' for (prev = NULL, pack = packed_git; pack; ^ ./helper/cinnabar-fast-import.c:201:5: error: must use 'struct' tag to refer to type 'packed_git' packed_git = pack->next; ^ struct ./helper/cinnabar-fast-import.c:201:5: error: expected expression ./helper/cinnabar-fast-import.c:239:24: warning: incompatible pointer types passing 'unsigned char const[20]' to parameter of type 'const struct object_id *' [-Wincompatible-pointer-types] if (!get_tree_entry(note->hash, path, oid.hash, &mode)) ^~~~~~~~~~ ./tree-walk.h:82:44: note: passing argument to parameter here int get_tree_entry(const struct object_id *, const char *, struct object_id *, unsigned *); ^ ./helper/cinnabar-fast-import.c:239:42: warning: incompatible pointer types passing 'unsigned char [20]' to parameter of type 'struct object_id *' [-Wincompatible-pointer-types] if (!get_tree_entry(note->hash, path, oid.hash, &mode)) ^~~~~~~~ ./tree-walk.h:82:78: note: passing argument to parameter here int get_tree_entry(const struct object_id *, const char *, struct object_id *, unsigned *); ^ ./helper/cinnabar-fast-import.c:250:13: warning: implicit declaration of function 'sha1_object_info' is invalid in C99 [-Wimplicit-function-declaration] e->type = sha1_object_info(note->hash, NULL); ^ ./helper/cinnabar-fast-import.c:411:19: warning: implicit declaration of function 'read_sha1_file_extended' is invalid in C99 [-Wimplicit-function-declaration] char *content = read_sha1_file_extended(note->hash, &type, &len, 0); ^ ./helper/cinnabar-fast-import.c:411:9: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion] char *content = read_sha1_file_extended(note->hash, &type, &len, 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./helper/cinnabar-fast-import.c:423:12: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] content = read_sha1_file_extended(git_id->hash, &type, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./helper/cinnabar-fast-import.c:489:13: warning: implicit declaration of function 'sha1_object_info' is invalid in C99 [-Wimplicit-function-declaration] } else if (sha1_object_info(git_id.hash, NULL) != type) { ^ ./helper/cinnabar-fast-import.c:513:10: warning: implicit declaration of function 'sha1_object_info' is invalid in C99 [-Wimplicit-function-declaration] switch (sha1_object_info(note_oid->hash, NULL)) { ^ 13 warnings and 6 errors generated. Changes: https://github.com/glandium/git-cinnabar/compare/0.5.0b3...aaabee0 Reported by: pkg-fallout |
||
---|---|---|
.. | ||
distinfo | ||
Makefile | ||
pkg-descr |