Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-45

_T causes error : 1048576 cannot be used as a function

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: