BUG: Struct declarations in template funcs crash b17.1

Kent E. Holsinger kent@darwin.eeb.uconn.edu
Thu Feb 27 04:12:00 GMT 1997


> template<class T> T Foo(T arg)
> {
>    struct
>     {
>         int val1;
>     } watch_me_blow_up;
> }

> This crashes the compiler.

Interetstingly, it does *not* crash gcc under SunOS, so it must be
something specific to cygnus port to windows.

-- Kent

-- 
Kent E. Holsinger                Kent@Darwin.EEB.UConn.Edu
                                 http://darwin.eeb.uconn.edu
-- Department of Ecology & Evolutionary Biology          
-- University of Connecticut, U-43                                       
-- Storrs, CT   06269-3043                                               

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list