The Wayback Machine - http://web.archive.org/web/20201007071223/https://github.com/root-project/root/issues/6410
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Without memstat support, `root -memstat` should not be available #6410

Open
jblomer opened this issue Sep 22, 2020 · 0 comments
Open

Without memstat support, `root -memstat` should not be available #6410

jblomer opened this issue Sep 22, 2020 · 0 comments
Assignees
Projects

Comments

@jblomer
Copy link
Contributor

@jblomer jblomer commented Sep 22, 2020

Describe the bug

As discussed in the ROOT forum:
WIthout the memstat feature, root.exe still offers the -memstat option but produced failures like

input_line_11:2:6: error: unknown type name 'TMemStat'
 new TMemStat("",100000,5000000);

Expected behavior

If memstat is not part of the build, the memstat option should not be offered or there should be a clearer error message.

To Reproduce

Steps to reproduce the behavior:

  1. Compile with cmake -Dmemstat=off
  2. Run root -l

Setup

  1. Master
  2. Arch Linux
  3. Built from sources
@jblomer jblomer added the bug label Sep 22, 2020
@github-actions github-actions bot added this to Needs triage in Triage Sep 22, 2020
@eguiraud eguiraud moved this from Needs triage to Rest in Triage Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.