Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10993

ROOT fails in loading nlohmann/json

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.22/00
    • Fix Version/s: 6.24/00, 6.22/04
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      Linux

      Description

      This file causes root to segfault,  The .hpp file is a single file that can be loaded from github

      #include "nlohmann/json.hpp"
      namespace nl = nlohmann;
      auto bundle = nl::json::object();
      bundle["text/plain"] = "foo";
      bundle

        Attachments

          Activity

            People

            Assignee:
            slinev Serguei Linev
            Reporter:
            15815aff9d4b94cfe3a3 Joseph Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: