Hi Harald, What you're missing is "friend class Master" in class Timer. So the compiler should totally allow this. It's very odd if it doesn't.
There is a miniscule chance that adding "class Master;" to the top of the timer.hh header, after the other "class" mentions, would help. Eddie Harald Schiöberg wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > this looks really strange: (userlevel build for mips) > > In file included from ../lib/task.cc:26: > ../include/click/master.hh: In member function `void > Master::timer_place::operator()(Timer**)': > ../include/click/timer.hh:253: error: `int Timer::_schedpos1' is private > ../include/click/master.hh:147: error: within this context > > the compiler is totally right here, so why did that always work for me > in the first place ? Or am I just completely stupid ? > Tested with a few recent versions from git. > > > harald > > > > > - -- > Harald Schiöberg > Technische Universität Berlin | T-Laboratories | FG INET > www: http://www.net.t-labs.tu-berlin.de > Phone: +49-(0)30-8353-58476 | Fax: +49-(0)391 534 783 47 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFK6FIxy8wrZ9OvkU0RAqF5AKDjkukQzacMZEj1FF4JX5HrcZ/hcACg2Snp > 2HrZssFRrNOUkxuITUrQtF4= > =Rspg > -----END PGP SIGNATURE----- > > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
