Discussion:
[Refdb-devel] [ refdb-Bugs-1562331 ] some warnings on 0.9.8-pre4
SourceForge.net
2006-09-20 16:39:58 UTC
Permalink
Bugs item #1562331, was opened at 2006-09-20 18:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1562331&group_id=26091

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: refdbd
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: steletch (steletch)
Assigned to: Markus Hoenicka (mhoenicka)
Summary: some warnings on 0.9.8-pre4

Initial Comment:
Since some may be harmful, here is the complete list
(unfortunately not providing a patch though, others may):

refdbdref.c:667: warning: passing argument 2 of 'iconv'
from incompatible pointer type
refdbdbib.c:917: warning: passing argument 2 of 'iconv'
from incompatible pointer type
refdbdbib.c:1016: warning: passing argument 2 of
'iconv' from incompatible pointer type
strfncs.c:961:21: warning: unknown escape sequence '\`'
strfncs.c:971:19: warning: unknown escape sequence '\`'
risdb.c:3955: warning: passing argument 2 of 'iconv'
from incompatible pointer type
noteshandler.c:756: warning: passing argument 2 of
'iconv' from incompatible pointer type
risxhandler.c:758: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbdnote.c:2219: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbdgetref.c:2680: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbib.c:777: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
passwd.c:73: warning: incompatible implicit declaration
of built-in function 'strlen'
refdbc.c:3299: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdbc.c:3336: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdbc.c:3978: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdba.c:1989: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdba.c:2048: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1562331&group_id=26091
SourceForge.net
2006-09-20 22:02:23 UTC
Permalink
Bugs item #1562331, was opened at 2006-09-20 18:39
Message generated for change (Comment added) made by mhoenicka
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1562331&group_id=26091

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: refdbd
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: steletch (steletch)
Assigned to: Markus Hoenicka (mhoenicka)
Summary: some warnings on 0.9.8-pre4

Initial Comment:
Since some may be harmful, here is the complete list
(unfortunately not providing a patch though, others may):

refdbdref.c:667: warning: passing argument 2 of 'iconv'
from incompatible pointer type
refdbdbib.c:917: warning: passing argument 2 of 'iconv'
from incompatible pointer type
refdbdbib.c:1016: warning: passing argument 2 of
'iconv' from incompatible pointer type
strfncs.c:961:21: warning: unknown escape sequence '\`'
strfncs.c:971:19: warning: unknown escape sequence '\`'
risdb.c:3955: warning: passing argument 2 of 'iconv'
from incompatible pointer type
noteshandler.c:756: warning: passing argument 2 of
'iconv' from incompatible pointer type
risxhandler.c:758: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbdnote.c:2219: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbdgetref.c:2680: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbib.c:777: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
passwd.c:73: warning: incompatible implicit declaration
of built-in function 'strlen'
refdbc.c:3299: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdbc.c:3336: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdbc.c:3978: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdba.c:1989: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdba.c:2048: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result

----------------------------------------------------------------------
Comment By: Markus Hoenicka (mhoenicka)
Date: 2006-09-21 00:02

Message:
Logged In: YES
user_id=85809

I've fixed all but the "iconv" warnings. I've mentioned in
the refdb-user list before that this problem can be fixed
either for Linux or for *BSD, but not for both. The other
warnings were harmless in their context, but I silenced them
anyway.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1562331&group_id=26091
SourceForge.net
2006-09-21 09:04:30 UTC
Permalink
Bugs item #1562331, was opened at 2006-09-20 18:39
Message generated for change (Comment added) made by steletch
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1562331&group_id=26091

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: refdbd
Group: None
Post by SourceForge.net
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: steletch (steletch)
Assigned to: Markus Hoenicka (mhoenicka)
Summary: some warnings on 0.9.8-pre4

Initial Comment:
Since some may be harmful, here is the complete list
(unfortunately not providing a patch though, others may):

refdbdref.c:667: warning: passing argument 2 of 'iconv'
from incompatible pointer type
refdbdbib.c:917: warning: passing argument 2 of 'iconv'
from incompatible pointer type
refdbdbib.c:1016: warning: passing argument 2 of
'iconv' from incompatible pointer type
strfncs.c:961:21: warning: unknown escape sequence '\`'
strfncs.c:971:19: warning: unknown escape sequence '\`'
risdb.c:3955: warning: passing argument 2 of 'iconv'
from incompatible pointer type
noteshandler.c:756: warning: passing argument 2 of
'iconv' from incompatible pointer type
risxhandler.c:758: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbdnote.c:2219: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbdgetref.c:2680: warning: passing argument 2 of
'iconv' from incompatible pointer type
refdbib.c:777: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
passwd.c:73: warning: incompatible implicit declaration
of built-in function 'strlen'
refdbc.c:3299: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdbc.c:3336: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdbc.c:3978: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdba.c:1989: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
refdba.c:2048: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result

----------------------------------------------------------------------
Post by SourceForge.net
Comment By: steletch (steletch)
Date: 2006-09-21 11:04

Message:
Logged In: YES
user_id=1129476

Yep, i know for the iconv warning, but having it and
bugzilla may ping someone else ;-)

----------------------------------------------------------------------

Comment By: Markus Hoenicka (mhoenicka)
Date: 2006-09-21 00:02

Message:
Logged In: YES
user_id=85809

I've fixed all but the "iconv" warnings. I've mentioned in
the refdb-user list before that this problem can be fixed
either for Linux or for *BSD, but not for both. The other
warnings were harmless in their context, but I silenced them
anyway.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1562331&group_id=26091
Continue reading on narkive:
Loading...