www.delorie.com/djgpp/bugs/show.cgi | search |
The following code fragment crashes the compiler. It is obviously wrong, but I think the compiler should issue an error message instead. template <class Type,class Type> inline void swap(Type &a,Type &b) { Type tmp = a; a = b; b = tmp; }
This compiler crash is not DJGPP-specific. It should be reported to the GCC maintainers.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |