Skip to content

Use of undeclared identifier on Mac ARM #10548

@couet

Description

@couet

Describe the bug

On Mac ARM we get (found by René):

sftnight@macphsft26 build % root
   ------------------------------------------------------------------
  | Welcome to ROOT 6.27/01                        https://root.cern/ |
  | (c) 1995-2022, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosxarm64 on May 09 2022, 11:42:50                   |
  | From heads/master@v6-25-02-1202-g8dc4bc40fb                      |
  | With Apple clang version 13.1.6 (clang-1316.0.21.2.3)            |
  | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q'  |
   ------------------------------------------------------------------

root [0] whatever
input_line_9:2:3: error: use of undeclared identifier 'whatever'
 (whatever)
  ^
libc++abi: terminating with uncaught exception of type cling::CompilationException
sftnight@macphsft26 build %

Expected behavior

% root
   ------------------------------------------------------------------
  | Welcome to ROOT 6.27/01                        https://root.cern |
  | (c) 1995-2022, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for macosx64 on May 09 2022, 05:37:55                      |
  | From heads/master@v6-25-02-1201-g797bb5dce1                      |
  | With Apple clang version 13.1.6 (clang-1316.0.21.2.3)            |
  | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q'  |
   ------------------------------------------------------------------

root [0] whatever
input_line_13:2:3: error: use of undeclared identifier 'whatever'
 (whatever)
  ^
Error in <HandleInterpreterException>: Error evaluating expression (whatever)
Execution of your code was aborted.
root [1] 

To Reproduce

Type something unknown at the ROOT prompt.

Setup

MacOS, ARM1 machine

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions