mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #4477] win: prevented some compiler warnings (os


From: Schlumpf
Subject: [Mldonkey-users] [patch #4477] win: prevented some compiler warnings (os_stubs_c.c gdstubs.c)
Date: Thu, 6 Oct 2005 18:33:39 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

Follow-up Comment #6, patch #4477 (project mldonkey):

updated Patch.

- remove INVALID_SET_FILE_POINTER declaration
- change return '\o' to return 0 in os_getfilesize

- some new changes in md4.c & os_stubs.h to prevent these warnings:
  src/utils/lib/md4.c: In function `MD4Update':
src/utils/lib/md4.c:115: warning: implicit declaration of function `memcpy'
src/utils/lib/md4.c: In function `MD4Final':
src/utils/lib/md4.c:158: warning: implicit declaration of function `memset'
In file included from src/daemon/common/commonHasher_c.c:22:
src/daemon/common/../../utils/lib/os_stubs.h:83:1: warning: "SEEK_SET"
redefined
In file included from src/daemon/common/commonHasher_c.c:20:
c:/Gnu/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdio.h:107:1:
warning: this is the location of the previous definition
In file included from src/daemon/common/commonHasher_c.c:22:
src/daemon/common/../../utils/lib/os_stubs.h:84:1: warning: "SEEK_CUR"
redefined
In file included from src/daemon/common/commonHasher_c.c:20:
c:/Gnu/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdio.h:111:1:
warning: this is the location of the previous definition
In file included from src/daemon/common/commonHasher_c.c:22:
src/daemon/common/../../utils/lib/os_stubs.h:85:1: warning: "SEEK_END"
redefined
In file included from src/daemon/common/commonHasher_c.c:20:
c:/Gnu/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdio.h:115:1:
warning: this is the location of the previous definition

by the way, why is the Status now Postponed? are these work undesired 
    _______________________________________________________

Additional Item Attachment:

File name: some_c_warnings2.patch         Size:6 KB

<http://savannah.nongnu.org/patch/download.php?item_id=4477&item_file_id=5290>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4477>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]