• Marko Mäkelä's avatar
    MDEV-22929 fixup: root_name() clash with clang++ <fstream> · f146969f
    Marko Mäkelä authored
    The clang++ -stdlib=libc++ header file <fstream> depends on
    <filesystem> that defines a member function path::root_name(),
    which conflicts with the rather unused #define root_name()
    that had been introduced in
    commit 7c58e97b.
    
    Because an instrumented -stdlib=libc++ (rather than the default
    -stdlib=libstdc++) is easier to build for a working -fsanitize=memory
    (cmake -DWITH_MSAN=ON), let us remove the conflicting #define for now.
    f146969f
my_alloc.c 14.2 KB