Re: How do I get rid of C4005 warning!!!
- From: "Mark Salsbery [MVP]" <MarkSalsbery[MVP]@newsgroup.nospam>
- Date: Tue, 18 Dec 2007 11:15:03 -0800
"JR" <JR@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:AC80327F-9B7E-438B-9A51-94632186DA6E@xxxxxxxxxxxxxxxx
BTW: this is using VS 2003
"JR" wrote:
How the heck can I rid my solution(s) of the following compile warning:
warning C4005: 'UNICODE' : macro redefinition
Don't redefine the macro! ;-)
Seriously, though, if you have your project settings (configuration properties/general) set to "Use Unicode Character Set" then _UNICODE and UNICODE should be defined on the compiler command line. There's no reason to define it explicitly in your code.
Mark
--
Mark Salsbery
Microsoft MVP - Visual C++
I've tried everything that I've been able to find on-line, but these warning
just do NOT go away. I am pretty sick of them.
.
- Prev by Date: Re: Access violation in malloc when not using debug runtime libraries
- Next by Date: VS 2008 beta can't find alink.dll
- Previous by thread: Faking Out the Win32 API with Templates
- Next by thread: Re: How do I get rid of C4005 warning!!!
- Index(es):
Relevant Pages
|