Current-Users archive

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

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



In article <20090111195059.bb647b2b.tnn%NetBSD.org@localhost>,
Tobias Nygren  <tnn%NetBSD.org@localhost> wrote:
>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

Fixed, thanks.

christos



Home | Main Index | Thread Index | Old Index