invalid use of undefined type `struct fd_set'

Jack Howarth howarth@nitro.med.uc.edu
Sun Oct 18 19:08:00 GMT 1998


Sorry. In my previous message the test case lost the end of the include.
It should be ....

---------------------------------------------------
#include <sys/select.h>

int socket;
static struct fd_set OrigWaitSet;
main() {
FD_SET(socket,&OrigWaitSet);
}                                  
---------------------------------------------------

-- 
------------------------------------------------------------------------------
Jack W. Howarth, Ph.D.                                     231 Bethesda Avenue
NMR Facility Director                              Cincinnati, Ohio 45267-0524
Dept. of Molecular Genetics                              phone: (513) 558-4420
Univ. of Cincinnati College of Medicine                    fax: (513) 558-8474



More information about the Gcc-bugs mailing list