Symbol SEEK_CUR is not defined in current scope

Hi,

symbol SEEK_CUR is no more defined in ROOT v5.22.

root [1] cout << SEEK_CUR << endl;
Error: Symbol SEEK_CUR is not defined in current scope (tmpfile):1:

Cheers, Jean

[quote=“Jacquemier”]Hi,

symbol SEEK_CUR is no more defined in ROOT v5.22.

root [1] cout << SEEK_CUR << endl;
Error: Symbol SEEK_CUR is not defined in current scope (tmpfile):1:

Cheers, Jean[/quote]
for me it works:

root [0] #include <cstdio> root [1] cout << SEEK_CUR << endl; 1

Hi,

In an effort to minimize the default memory size used, we have reduced the number of headers and library that are loaded by default. One of the removed header is indeed stdio.h.
You now need to explicitly load it (either #include <stdio.h> or #include ) to use the symbol declared in it.

Cheers,
Philippe.