Re: strnicmp
- From: Larry Waibel <lwaibel@xxxxxxxxxxxxxxx>
- Date: Thu, 02 Feb 2006 08:00:07 PST
In article <1ms1u1pgaq28frqh3o8gdjur5ck180kfqd@xxxxxxx>, David Lowndes wrote:
From: David Lowndes <DavidL@xxxxxxxxxxxxxxx>It's a project I got from someone else. I suspect a clean test project would
Subject: Re: strnicmp
Date: Wed, 01 Feb 2006 17:45:56 +0000
Newsgroups: microsoft.public.vc.language
I'm using the released VS 2005 Pro edition. This is the line I'm compiling:
if ( 0 == strnicmp("localhost",the_tlp_apdu_server.get_hostname(),9))
If I leave it that way, I get:
d:\nist sp 800-73 piv reference implementation 20050625\card reference
implementation\code\piv\refimp\java_card_manager\java_card_manager.cpp(53) :
error C3861: 'strnicmp': identifier not found
Larry,
Both your results seem odd. I've changed a fair few lines of code with
these warnings recently and the normal situation is that you get the
deprecate warning with the older name only.
Can you try a clean test project and see what happens?
If the issue persists, have you got some strange combination of header
files? Have you tried this on a clean machine installation?
Dave
work as it has for another poster here. So it must have a "strange combination
of header files" but I don't know what that would be :-) Not sure what a "clean
machine installation" is but this was a new recent install of VS 2005 Pro. I've
reported it to Microsoft support but not heard anything back yet.
.
- Follow-Ups:
- Re: strnicmp
- From: David Lowndes
- Re: strnicmp
- References:
- strnicmp
- From: Larry Waibel
- Re: strnicmp
- From: Victor Bazarov
- Re: strnicmp
- From: Victor Bazarov
- Re: strnicmp
- From: Larry Waibel
- Re: strnicmp
- From: David Lowndes
- strnicmp
- Prev by Date: Re: Why don't I get warning C4700 calling a method of an uninitialized
- Next by Date: Re: How to make the file undeleteable
- Previous by thread: Re: strnicmp
- Next by thread: Re: strnicmp
- Index(es):
Relevant Pages
|