[systemd-devel] sd-login.h - g++ complains about 'class'

Mantas M. grawity at gmail.com
Fri Feb 24 15:36:05 PST 2012


When building gnome-system-monitor with systemd support, I get the following error message and compilation stops:

> In file included from proctable.cpp:49:0:
> /usr/include/systemd/sd-login.h:97:54: error: expected ‘,’ or ‘...’ before ‘class’

It seems that 'class' cannot be a variable name in C++.

-- 
Mantas M. <grawity at gmail.com>


More information about the systemd-devel mailing list