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

cleanup.cc: error: ‘cerr’ was not declared in this scope #354

Closed
Polynomial-C opened this issue Sep 5, 2017 · 2 comments
Closed

cleanup.cc: error: ‘cerr’ was not declared in this scope #354

Polynomial-C opened this issue Sep 5, 2017 · 2 comments
Labels

Comments

@Polynomial-C
Copy link

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I/usr/include/dbus-1.0 -
I/usr/lib64/dbus-1.0/include -DCONFDIR='"/etc/conf.d"'  -march=native -mtune=nat
ive -O2 -pipe -std=c++11 -Wall -Wextra -Wformat=2 -Wnon-virtual-dtor -Wno-unused
-parameter -c -o cleanup.o cleanup.cc
cleanup.cc: In member function ‘bool Cleaner::is_quota_aware() const’:
cleanup.cc:203:6: error: ‘cerr’ was not declared in this scope
      cerr << "quota not working (" << e.message() << ")" << endl;
      ^~~~
cleanup.cc:213:2: error: ‘cerr’ was not declared in this scope
  cerr << "quota not working (" << e.what() << ")" << endl;
  ^~~~
make[3]: *** [Makefile:669: cleanup.o] Error 1

I'm not sure but this might be related to the upgrade to boost-1.65.0 I did before. See downstream bug report.

@aschnell
Copy link
Member

aschnell commented Sep 6, 2017

Whether related to boost or not, including iostream is missing.

See #355.

@aschnell aschnell added the bug label Sep 6, 2017
@aschnell
Copy link
Member

aschnell commented Sep 6, 2017

Should be OK now.

@aschnell aschnell closed this as completed Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants