rfg@MCC.COM (Ron Guilmette) (02/20/89)
It seems that GCC will warn you if you declare a function which takes an argument which is a pointer to an incomplete type, but not if you declare a function which *returns* a pointer to an incomplete type, i.e. struct incomplete; int gimme_warning (struct incomplete *); /* gives warning */ struct incomplete *strange_return (void); /* no warning */ It seems to me that the same thing should happen in either case. // Ron Guilmette - MCC - Experimental (parallel) Systems Kit Project // 3500 West Balcones Center Drive, Austin, TX 78759 - (512)338-3740 // ARPA: rfg@mcc.com // UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg