Skip to content

Issue with "~=" operator in ldc2.conf #4960

@cyrusmsk

Description

@cyrusmsk

DCD is showing an error in logs, that config.d can't properly read ldc2.conf and pointing on line 49:

"arm64-apple-ios":
{
    switches ~= [
        "-Xcc=-isysroot",
        "-Xcc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk",
    ];

OS: macOS 15.5
Compiler: LDC 1.41.0
DCD: built from master git
serve-d: built from master git

After changing '~=' to '=' the error disappeared and DCD started working.

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