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

          Hide
          Curt Arnold added a comment -

          _T is dying.

          Show
          Curt Arnold added a comment - _T is dying.

            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