Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

g++ cannot compile <utmpx.h> after time_t merge



This one bit me while rebuilding pkgsrc/sysutils/smartmontools:

> echo "#include <utmpx.h>" > test.cpp
> g++ -c -o test.o test.cpp
/usr/include/utmpx.h:107: error: types may not be defined in 'sizeof'
expressions


Home | Main Index | Thread Index | Old Index