[Mono-devel-list] r47115 and windows build (sys/mman.h)

Atsushi Eno atsushi at ximian.com
Sun Jul 10 22:21:24 EDT 2005


Hi Zoltan,

I doubt that r47115 resulted in a breakage on windows build. Now
the build includes mini-codegen.c in x86 build and

gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
-I../../libgc/include -I/opt/glib-2.6/include/glib-2.0
-I/opt/glib-2.6/lib/glib-2.0/include -I/opt/glib-2.6/include/glib-2.0
-I/opt/glib-2.6/lib/glib-2.0/include -DWIN32_THREADS -DFD_SETSIZE=1024
-O -g -O2 -fno-strict-aliasing -Wdeclaration-after-statement -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -MT
mini-codegen.lo -MD -MP -MF .deps/mini-codegen.Tpo -c mini-codegen.c
-DPIC -o .libs/mini-codegen.o
mini-codegen.c:10:22: sys/mman.h: No such file or directory
mini-codegen.c: In function `mono_local_regalloc':
mini-codegen.c:796: warning: 'prev_sreg1' might be used uninitialized in
this function
mini-codegen.c:796: warning: 'prev_sreg2' might be used uninitialized in
this function
mini-codegen.c:798: warning: 'dreg_high' might be used uninitialized in
this function
mini-codegen.c:798: warning: 'sreg1_high' might be used uninitialized in
this function

Mingw does not seem to support sys/mman.h.

Atsushi Eno



More information about the Mono-devel-list mailing list