Skip to content

First line of .ccls should not always be clang #5186

Closed

Description

@pedz

In .ccls.tpl, I believe line 3 should be:

{{ cc_path }}

If clang is specified, then in my case it was using my Mac's clang and it is not fully compatible. For example, my Mac's clang is producing mach-o instead of elf which is what my project needed.

Activity

  1. ivankravets commented on Jun 23, 2025

    @ivankravets
    Member

    Does it work for you with {{ cc_path }}?

  2. added this to the 6.1.19 milestone on Jun 23, 2025
  3. pedz commented on Jun 23, 2025

    @pedz
    Author

    Yes. It works for me but it's odd that this hasn't been caught before so I'm not very confident.

    A comment in the user forum suggested two other files that probably need the same change.

  4. ivankravets commented on Feb 2, 2026

    @ivankravets
    Member

    Thanks for the report! Please re-test with pio upgrade --dev.

  5. added a commit that references this issue on Feb 2, 2026
    eb6db5e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions