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

_T causes error : 1048576 cannot be used as a function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • Build
    • None
    • 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

              mcatan Michael Catanzariti
              obe1line Chris Storah
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: