Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.76 KB | None | 0 0
  1. cc -Wall picfs.c backup_app/backup_client.c `pkg-config fuse --cflags --libs` `pkg-config libexif --cflags --libs` -o picfs
  2. picfs.c: In function ‘parse_exif_timestamp’:
  3. picfs.c:76:20: warning: unused variable ‘byteOrder’ [-Wunused-variable]
  4. ExifByteOrder byteOrder = exif_data_get_byte_order(exifData);
  5. ^
  6. picfs.c: In function ‘sort’:
  7. picfs.c:173:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘char *’ [-Wformat=]
  8. sprintf(yearString, "/%d", result[0]);
  9. ^
  10. backup_app/backup_client.c: In function ‘backup_close’:
  11. backup_app/backup_client.c:82:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  12. backup_send(sendBuffer, 1);
  13. ^
  14. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  15. void backup_send(char* data, int length) {
  16. ^
  17. backup_app/backup_client.c: In function ‘list_directory’:
  18. backup_app/backup_client.c:105:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  19. backup_send(sendBuffer, 1);
  20. ^
  21. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  22. void backup_send(char* data, int length) {
  23. ^
  24. backup_app/backup_client.c:112:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  25. backup_send(sendBuffer, 4);
  26. ^
  27. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  28. void backup_send(char* data, int length) {
  29. ^
  30. backup_app/backup_client.c:118:2: warning: pointer targets in passing argument 1 of ‘backup_recv’ differ in signedness [-Wpointer-sign]
  31. backup_recv(recvBuffer, 4);
  32. ^
  33. backup_app/backup_client.c:69:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  34. int backup_recv(char* buffer, int readLength) {
  35. ^
  36. backup_app/backup_client.c:129:2: warning: pointer targets in passing argument 1 of ‘backup_recv’ differ in signedness [-Wpointer-sign]
  37. backup_recv(recvBuffer, 4);
  38. ^
  39. backup_app/backup_client.c:69:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  40. int backup_recv(char* buffer, int readLength) {
  41. ^
  42. backup_app/backup_client.c:137:2: warning: pointer targets in passing argument 1 of ‘backup_recv’ differ in signedness [-Wpointer-sign]
  43. backup_recv(directoryContent, directoryContentLength);
  44. ^
  45. backup_app/backup_client.c:69:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  46. int backup_recv(char* buffer, int readLength) {
  47. ^
  48. backup_app/backup_client.c:139:2: warning: pointer targets in return differ in signedness [-Wpointer-sign]
  49. return directoryContent;
  50. ^
  51. backup_app/backup_client.c:98:6: warning: unused variable ‘j’ [-Wunused-variable]
  52. int j;
  53. ^
  54. backup_app/backup_client.c: In function ‘pull_file’:
  55. backup_app/backup_client.c:158:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  56. backup_send(sendBuffer, 1);
  57. ^
  58. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  59. void backup_send(char* data, int length) {
  60. ^
  61. backup_app/backup_client.c:165:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  62. backup_send(sendBuffer, 4);
  63. ^
  64. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  65. void backup_send(char* data, int length) {
  66. ^
  67. backup_app/backup_client.c:171:2: warning: pointer targets in passing argument 1 of ‘backup_recv’ differ in signedness [-Wpointer-sign]
  68. backup_recv(recvBuffer, 4);
  69. ^
  70. backup_app/backup_client.c:69:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  71. int backup_recv(char* buffer, int readLength) {
  72. ^
  73. backup_app/backup_client.c:187:6: error: redeclaration of ‘i’ with no linkage
  74. int i = 0;
  75. ^
  76. backup_app/backup_client.c:145:6: note: previous declaration of ‘i’ was here
  77. int i;
  78. ^
  79. backup_app/backup_client.c:207:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  80. backup_send(sendBuffer, 1);
  81. ^
  82. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  83. void backup_send(char* data, int length) {
  84. ^
  85. backup_app/backup_client.c: In function ‘post_file’:
  86. backup_app/backup_client.c:231:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  87. backup_send(sendBuffer, 1);
  88. ^
  89. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  90. void backup_send(char* data, int length) {
  91. ^
  92. backup_app/backup_client.c:238:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  93. backup_send(sendBuffer, 4);
  94. ^
  95. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  96. void backup_send(char* data, int length) {
  97. ^
  98. backup_app/backup_client.c:248:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  99. backup_send(sendBuffer, 4);
  100. ^
  101. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  102. void backup_send(char* data, int length) {
  103. ^
  104. backup_app/backup_client.c:264:2: warning: pointer targets in passing argument 1 of ‘backup_recv’ differ in signedness [-Wpointer-sign]
  105. backup_recv(recvBuffer, 1);
  106. ^
  107. backup_app/backup_client.c:69:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  108. int backup_recv(char* buffer, int readLength) {
  109. ^
  110. backup_app/backup_client.c: In function ‘create_dir’:
  111. backup_app/backup_client.c:276:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  112. backup_send(sendBuffer, 1);
  113. ^
  114. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  115. void backup_send(char* data, int length) {
  116. ^
  117. backup_app/backup_client.c:283:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  118. backup_send(sendBuffer, 4);
  119. ^
  120. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  121. void backup_send(char* data, int length) {
  122. ^
  123. backup_app/backup_client.c: In function ‘getFilesOnServer’:
  124. backup_app/backup_client.c:296:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  125. backup_send(sendBuffer, 1);
  126. ^
  127. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  128. void backup_send(char* data, int length) {
  129. ^
  130. backup_app/backup_client.c:304:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  131. backup_send(sendBuffer, 4);
  132. ^
  133. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  134. void backup_send(char* data, int length) {
  135. ^
  136. backup_app/backup_client.c:311:2: warning: pointer targets in passing argument 1 of ‘backup_recv’ differ in signedness [-Wpointer-sign]
  137. backup_recv(recvBuffer, 4);
  138. ^
  139. backup_app/backup_client.c:69:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  140. int backup_recv(char* buffer, int readLength) {
  141. ^
  142. backup_app/backup_client.c: In function ‘isEntryFile’:
  143. backup_app/backup_client.c:329:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  144. backup_send(sendBuffer, 1);
  145. ^
  146. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  147. void backup_send(char* data, int length) {
  148. ^
  149. backup_app/backup_client.c:341:2: warning: pointer targets in passing argument 1 of ‘backup_send’ differ in signedness [-Wpointer-sign]
  150. backup_send(sendBuffer, 4);
  151. ^
  152. backup_app/backup_client.c:60:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  153. void backup_send(char* data, int length) {
  154. ^
  155. backup_app/backup_client.c:347:2: warning: pointer targets in passing argument 1 of ‘backup_recv’ differ in signedness [-Wpointer-sign]
  156. backup_recv(recvBuffer, 1);
  157. ^
  158. backup_app/backup_client.c:69:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
  159. int backup_recv(char* buffer, int readLength) {
  160. ^
  161. make: *** [all] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement