Skip to content

Instantly share code, notes, and snippets.

View rgoulter's full-sized avatar

Richard Goulter rgoulter

View GitHub Profile
[ 98%] Building CXX object tools/cling/lib/Interpreter/CMakeFiles/clingInterpreter.dir/ValuePrinter.cpp.obj
In file included from C:\Users\richa_000\cling-build\src\tools\cling\lib\Interpreter\ValuePrinter.cpp:10:0:
C:/Users/richa_000/cling-build/src/tools/cling/include/cling/Interpreter/Value.h: In instantiation of 'static T cling::Value::CastFwd<T>::cast(const cling::Value&) [with
T = long double]':
C:/Users/richa_000/cling-build/src/tools/cling/include/cling/Interpreter/Value.h:209:36: required from 'T cling::Value::simplisticCastAs() const [with T = long double]'
C:\Users\richa_000\cling-build\src\tools\cling\lib\Interpreter\ValuePrinter.cpp:213:48: required from here
C:/Users/richa_000/cling-build/src/tools/cling/include/cling/Interpreter/Value.h:104:53: error: cast from 'void*' to 'long unsigned int' loses precision [-fpermissive]
return (T) (unsigned long) V.getAs<void*>();
^
C:/Users/richa_000/cling-build/src/tools/cling/include/cling