Skip to content

How to use std::format without "macro redefinition" errors? #638

@s9w

Description

@s9w

There's this info about cmake options, and this site about defines. What’s the relationship between the CMake option LOG4CXX_FORMAT_NAMESPACE=std and the define LOG4CXX_FORMAT_NS=std? Do I need to set one, or both?

Also the sentence "You would use the value 'std' if Log4cxx was built with LOG4CXX_FORMAT_NAMESPACE=fmt" is adding to my confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions