This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiler error?


Jens Thiele <karme@geocities.com> writes:

> #include <sys/time.h>
> #include <sys/types.h>
> #include <unistd.h>

> template <class objtype> class foo { int msgavail(); };

> template <class objtype> int foo<objtype>::msgavail()
> { fd_set checker; FD_ZERO(&checker); return 0; }

> int main() { }

Thanks for your report.  This problem is fixed in the latest egcs
snapshot.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]