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

logger.h includes config.h

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Suse Linux 9.0 (no updates)

      Description

      logger.h includes config.h which in turn (on non-win32 platforms) includes the auto configuration header from auto-header - config-auto.h. This header defines well known commonly used macro definitions (such as PACKAGE_STRING) created by the auto build tools.

      Code that uses log4cxx and is also created using these tools have conflicts with these macro definitions. config.h should not be installed on client machines or referenced from public headers.

        Attachments

          Activity

            People

            • Assignee:
              mcatan Michael Catanzariti
              Reporter:
              rowley Pete Rowley

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment