[ ayttm-Bugs-949971 ] strcasecmp undeclared?

"SourceForge.net" <[email protected]>
Newsgroups gmane.network.instant-messaging.ayttm.user
Message-ID <[email protected]>
Bugs item #949971, was opened at 2004-05-07 10:53
Message generated for change (Comment added) made by elh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550744&aid=949971&group_id=77614

Category: Core
Group: None
>Status: Deleted
Resolution: None
Priority: 5
Submitted By: Riccardo Mottola (rmottola)
Assigned to: Nobody/Anonymous (nobody)
Summary: strcasecmp undeclared?

Initial Comment:
When I try to compile I get:
util.c: In function `get_groups':
util.c:1553: `strcasecmp' undeclared (first use in this
function)
util.c:1553: (Each undeclared identifier is reported
only once
util.c:1553: for each function it appears in.)
m


looking at the code it seems that strcasecmp is a
function but here ti  is used without parameters? I do
not understand.

this is on 0.4.6, buiding on AIX with gcc 2.95

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

>Comment By: Edward L. Haletky (elh)
Date: 2004-06-28 10:09

Message:
Logged In: YES 
user_id=747074

Duplicate

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

Comment By: Edward L. Haletky (elh)
Date: 2004-05-10 07:44

Message:
Logged In: YES 
user_id=747074

In that code strcasecmp is passed into the
l_list_insert_sorted function to perform the comparison for
the search function. It will take arguments in that
function. Using stracasecmp ("a","a") will cause some pretty
bad problems come runtime.

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

Comment By: Riccardo Mottola (rmottola)
Date: 2004-05-07 12:37

Message:
Logged In: YES 
user_id=258039

I may try my best. I am not an AIX expert, but  I sill report easy 
fixes. If I cannot, I give up and tell you :)

But please look at line 1553 in the code of the 0.4.6 release. I 
believe it is plainly wrong. In fact substituting stcasecmp with 
stracasecmp("a", "a") on that line made the file compile.

I am able now to compile the whole ayttm but fail to link against 
iconv. Iconv is always a problem...

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

Comment By: Edward L. Haletky (elh)
Date: 2004-05-07 11:52

Message:
Logged In: YES 
user_id=747074

AYTTM has yet to be ported to AIX. Are you willing to do so,
if so I can merge your changes into the system. Please note
how we handled missing items for the WIN32 platform using
#define's etc in global.h. If you can not port to AIX please
let me know and I may be able to find someone or at least
add it to my list of things to do.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550744&aid=949971&group_id=77614


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.