Nicolas M. Thiéry
Nicolas M. Thiéry
For the record: the issue is still there with cling 0.5: ``` clangdev 5.0.0 cling_1 [cling] gouarin cling 0.5 3 [cling] gouarin cling-patches 1 0 QuantStack clingkernel 0.0.2 cppzmq 4.2.2...
> This looks like an expected behavior though. Omitting the last > semicolumn is really allowed for display only. Salut Sylvain! That there is an error is indeed an expected...
A variant: a single cell containing two functions: ``` int f(int i) { return 2; } int g(int i) { return 3; } ``` triggers an error: ``` input_line_7:5:15: error:...
Other variant: ``` using namespace std; int f(int i) { return 1; } ```
> This has been solved upstream and will be resolved when we update to > the latest version of cling. Great!
For the record, another instance: ``` vector f() { return {}; } ``` triggers also a `function definition not allowed here`. Alas we can't update easily our installation, and this...
On Sun, Oct 08, 2017 at 02:35:28PM -0700, Loic Gouarin wrote: > [1]@nthiery this issue has been fixed in the master branch of cling > [2]root-project/cling#182 > > We hope...
Shoot, `auto` as return type is C++14, and we are for now just using C++ 11. Ok, maybe we should switch, but not tomorrow. I'll use a typedef for now...
This is still failing with cling 0.5: ``` vector f() { return vector } ``` ``` input_line_9:2:18: error: function definition is not allowed here vector f() { ^ ``` ```...
Hi! The examples are still failing. Any hope for progress? Why has this ticket been closed?