Advertisement
Guest User

Untitled

a guest
Jan 29th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.86 KB | None | 0 0
  1. simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.cpp: В функции-члене «virtual bool CFormatGif::Load(const char*, unsigned int)»:
  2. simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.cpp:32:54: ошибка: too few arguments to function «GifFileType* DGifOpenFileName(const char*, int*)»
  3.      GifFileType* gif_file = DGifOpenFileName(filename);
  4.                                                       ^
  5. In file included from simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.h:12:0,
  6.                  from simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.cpp:8:
  7. /usr/include/gif_lib.h:179:14: замечание: declared here
  8.  GifFileType *DGifOpenFileName(const char *GifFileName, int *Error);
  9.               ^
  10. simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.cpp:43:31: ошибка: too few arguments to function «int DGifCloseFile(GifFileType*, int*)»
  11.          DGifCloseFile(gif_file);
  12.                                ^
  13. In file included from simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.h:12:0,
  14.                  from simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.cpp:8:
  15. /usr/include/gif_lib.h:183:9: замечание: declared here
  16.      int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
  17.          ^
  18. simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.cpp:150:27: ошибка: too few arguments to function «int DGifCloseFile(GifFileType*, int*)»
  19.      DGifCloseFile(gif_file);
  20.                            ^
  21. In file included from simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.h:12:0,
  22.                  from simpleviewergl-git/src/simpleviewergl-git/src/formats/formatgif.cpp:8:
  23. /usr/include/gif_lib.h:183:9: замечание: declared here
  24.      int DGifCloseFile(GifFileType * GifFile, int *ErrorCode);
  25.          ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement