cling icon indicating copy to clipboard operation
cling copied to clipboard

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

Open vickeykumar opened this issue 5 years ago • 2 comments

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]$

vickeykumar avatar Oct 22 '20 06:10 vickeykumar

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

Axel-Naumann avatar Nov 11 '21 15:11 Axel-Naumann

https://github.com/root-project/root/pull/9272

Axel-Naumann avatar Nov 11 '21 15:11 Axel-Naumann