Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2775

static assert fails in src/thrift/internal/ctfe.d

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.9.2
    • Component/s: D - Library
    • Labels:
      None
    • Environment:

      openSUSE 13.1 (i586)
      DMD Compiler v2.066.0
      german locale

      Description

      make check in d/lib fails with

      src/thrift/internal/ctfe.d(94): Error: static assert  (ctfeToString(3.1415) == "3.1415") is false
      

      because ctfeToString(3.1415) evaluates to "3.14149999999999"

        Attachments

          Activity

            People

            • Assignee:
              jensg Jens Geyer
              Reporter:
              jensg Jens Geyer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment