[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
questions about qsort, t_size, /usr/include/iso/stdlib_iso.h and warning
From: |
rodney . l . foster |
Subject: |
questions about qsort, t_size, /usr/include/iso/stdlib_iso.h and warning: argument #4 is incompatible with prototype: |
Date: |
Wed, 1 May 2002 13:48:42 -0500 |
libtool,
I have a quick question for you and I am hoping you can help or point me
in the right direction.
I am running Solaris 8 SunOS 5.8 and I am getting the following message
when I compile a program:
line 207: warning: argument #4 is incompatible with prototype:
prototype: pointer to function(pointer to const void, pointer to
const v
oid) returning int : "/usr/include/iso/stdlib_iso.h", line 109
I am getting the same error in three places, but line 207 in the program
is:
qsort( linkfiles, cnt, (size_t) Len, lfcomp );
The line 109 in stdlib_iso.h is:
extern void qsort(void *, size_t, size_t,
int (*)(const void *, const void *));
Any ideas what could be causing this? They are just warnings, but I
think they are impacting the results of the program.
If you have any idea what this could be or you have any suggestions
please let me know.
Thanks,
Rodney
- questions about qsort, t_size, /usr/include/iso/stdlib_iso.h and warning: argument #4 is incompatible with prototype:,
rodney . l . foster <=