Skip to content

Issue when using clang-17 to compile #141

@chriscpritchard

Description

@chriscpritchard

I'm using clang version 17 with libcxx and when attempting to compile using clang, I get the following error:

clang++ -O2 -Wall -Wextra -fno-exceptions -Wno-psabi  -std=c++20 -I /home/chris/dev/systemd-cron-2.3.0/out/build/include            /home/chris/dev/systemd-cron-2.3.0/out/build/include/libvoreutils.hpp -o /home/chris/dev/systemd-cron-2.3.0/out/build/include/libvoreutils.hpp.gch
clang++: error: cannot specify -o when generating multiple output files
make: *** [Makefile:220: /home/chris/dev/systemd-cron-2.3.0/out/build/include/libvoreutils.hpp.gch] Error 1

This does not occur when using gcc and g++ to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions