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

Lennart Poettering lennart at poettering.net
Mon Mar 5 06:16:49 PST 2012


On Sat, 25.02.12 01:36, Mantas M. (grawity at gmail.com) wrote:

> 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++.

Fixed in git.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list