Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -o ajtcl-interface-manager -Wall memory.c main.c
- memory.c: In function ‘AJ_InterfaceDescriptionAdd’:
- memory.c:58:23: warning: passing argument 1 of ‘AJ_Realloc’ discards ‘const’ qualifier from pointer target type
- iter = AJ_Realloc(*interfaceDescription, sizeof(char*) * (size + 2));
- ^
- memory.c:16:7: note: expected ‘void *’ but argument is of type ‘AJ_InterfaceDescription’
- void* AJ_Realloc(void* ptr, size_t size)
- ^
- main.c: In function ‘main’:
- main.c:13:5: warning: implicit declaration of function ‘AJ_InterfaceDescriptionCreate’ [-Wimplicit-function-declaration]
- data = AJ_InterfaceDescriptionCreate("org.alljoyn.Bus.sample");
- ^
- main.c:13:10: warning: assignment makes pointer from integer without a cast
- data = AJ_InterfaceDescriptionCreate("org.alljoyn.Bus.sample");
- ^
- main.c:16:5: warning: implicit declaration of function ‘AJ_InterfaceDescriptionAdd’ [-Wimplicit-function-declaration]
- AJ_InterfaceDescriptionAdd(&data, "?Dummy foo<i");
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement