Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions std/math/traits.d
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,17 @@ template floatTraits(T)
enum SIGNPOS_BYTE = 0;
}
}
else static if (T.sizeof == 16)
{
version (DigialMars)
{
version (X86_64)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the lack of a corresponding else branch on purpose?

static assert(false,"No traits support for " ~ T.stringof ~
". If you are on ARM, DMD is trying to target X86_64.");
}
else
static assert(false, "No traits support for " ~ T.stringof);
}
else
static assert(false, "No traits support for " ~ T.stringof);
}
Expand Down
Loading