Log4cxx
  1. Log4cxx
  2. LOGCXX-45

_T causes error : 1048576 cannot be used as a function

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Mac OS X 10.3.6

      Description

      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.

        Issue Links

          Activity

          Chris Storah created issue -
          Curt Arnold made changes -
          Field Original Value New Value
          Link This issue duplicates LOGCXX-10 [ LOGCXX-10 ]
          Curt Arnold made changes -
          Fix Version/s 0.9.8 [ 10782 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Alan Cabrera made changes -
          Link This issue duplicates LOGCXX-10 [ LOGCXX-10 ]
          Alan Cabrera made changes -
          Link This issue duplicates LOGCXX-10 [ LOGCXX-10 ]

            People

            • Assignee:
              Michaël CATANZARITI
              Reporter:
              Chris Storah
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development