|
|
Sponsor |
win32 and UNICODE: msg#00026apache.logging.log4cxx.user
I'm trying to use log4cxx in a win32 Unicode project and am having some difficulties. If I don't #define UNICODE, the log4cxx::String is a basic_string<char> (because windows uses _UNICODE). If I do #define UNICODE, then I get: c:\chrome\ice\client\code\cpp\internal\include\log4cxx\helpers\tchar.h(1 07) : error C2371: 'TCHAR' : redefinition; different basic types The code in tchar.h looks like this: #ifndef TCHAR typedef wchar_t TCHAR; Shouldn't that be #ifndef __TCHAR_DEFINED (or perhaps _TCHAR_DEFINED)? Sean Rohead
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Building on Mac OS/X 10.3, Sven A . Schmidt |
|---|---|
| Next by Date: | Logging Configuration Across DLL Boundary, Combes, Chris M. |
| Previous by Thread: | Re: Building on Mac OS/X 10.3, Sven A . Schmidt |
| Next by Thread: | RE: win32 and UNICODE, Delfin Rojas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|