I've tried compile PCem rev 872 using MinGW (not MSYS2), but it gave me an error:
Code: Select all
gcc.exe -O3 -march=i686 -fomit-frame-pointer -msse2 -mstackrealign -Wall -Werror -fno-strict-aliasing -DUSE_NETWORKING -c scsi_53c400.c scsi_53c400.c: In function 'ncr5380_reset': scsi_53c400.c:110:23: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess] memset(ncr, 0, sizeof(ncr)); ^ cc1.exe: all warnings being treated as errors make: *** [scsi_53c400.o] Error 1 make: *** Waiting for unfinished jobs....
Is this bug or something else?