[m-users.] compiling under cygwin

Maxime Van Assche mvanassche at odaseontologies.com
Fri Aug 12 23:37:52 AEST 2016


Hi,

There seems to be a small issue compiling the 14.01.1 compiler under latest Cygwin packages (gcc 5.4.0) With the fd_set type, not defined in sys/types.h anymore?
Any clues?

Thanks,


/tmp/mmake.EjyJMc:1075: warning: undefined variable 'EXTRAOPTS'
../scripts/mgnuc --no-mercury-stdlib-dir --grade hlc.gc.pregen       -- -DNDEBUG -DNEW -DCLEAR_CACHES -DCOMPUTED_TABLE -DEQUAL_TEST -DUSE_ITE_CONSTANT -DRESTRICT_SET    -I../browser -I../library -I../runtime -I../boehm_gc -I../boehm_gc/include    -c bryant.c -o bryant.o
In file included from ../runtime/mercury_tabling.h:22:0,
                 from ../runtime/mercury_stack_layout.h:42,
                 from ../runtime/mercury_ho_call.h:24,
                 from ../runtime/mercury.h:36,
                 from ../runtime/mercury_imp.h:42,
                 from bryant.c:107:
../runtime/mercury_reg_workarounds.h:62:19: error: unknown type name 'fd_set'
   void MR_fd_zero(fd_set *fdset);


Max.


More information about the users mailing list