Skip to content

error seen when c mode is used: error: ValueExtractionSynthesizer could not find: 'cling::runtime::internal::setValueNoAlloc'. #364

Open
root-project/root
#17422

Description

@vickeykumar

when c mode is used with cling, below error is seen when trying to print real time values:

$ cling -xc

***************** CLING *****************

  • Type C code and press enter to run it *
  •        Type .q to exit            *
    

[cling]$ int i
input_line_2:3:2: error: ValueExtractionSynthesizer could not find:
'cling::runtime::internal::setValueNoAlloc'.
;

^
[cling]$ 123
input_line_3:2:2: error: ValueExtractionSynthesizer could not find:
'cling::runtime::internal::setValueNoAlloc'.
123
^
[cling]$

Activity

  1. Axel-Naumann commented on Nov 11, 2021

    @Axel-Naumann
    Member

    Yup we need to disable value printing in C mode, or re-implement it for C.

  2. self-assigned this
    on Nov 11, 2021
  3. Axel-Naumann commented on Nov 11, 2021

    @Axel-Naumann
    Member
  4. added a commit that references this issue on Jan 14, 2025
    7e98f55
  5. added a commit that references this issue on Sep 2, 2025
    3176b35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions