Issue Details (XML | Word | Printable)

Key: LOGCXX-45
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Michaël CATANZARITI
Reporter: Chris Storah
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4cxx

_T causes error : 1048576 cannot be used as a function

Created: 10/Dec/04 12:29 AM   Updated: 27/Sep/06 12:45 AM
Return to search
Component/s: Build
Affects Version/s: 0.10.0
Fix Version/s: 0.10.0

Time Tracking:
Not Specified

Environment: Mac OS X 10.3.6
Issue Links:
Duplicate
 

Resolution Date: 14/Dec/04 06:25 PM


 Description  « Hide
Under Mac OS, ctype.h defines _T as 1048576.
A quick fix is to "#undef _T" in log4cxx/helpers/tchar.h directly after the #include <ctype.h> and <wctype.h>
This is not ideal as it needs to be conditional on a mac build only.


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Curt Arnold added a comment - 11/Dec/04 06:03 AM
_T is dying.