|
Re: Can't compile x86 but can compile x64 under windows 7
01/25/19 01:58 AM
|
|
|
> > Those variables are set properly as shown in the attached log file. > > >../../../../../3rdparty/sqlite3/sqlite3.c5: error: 'memcpy': specified si > ze between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-We > rror=stringop-overflow=] > memcpy(p->aAlloc, &p->aBuffer[iBuf], nAvail); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > That version (7.4.0) has a bug with memcpy overflowing. You can either use an old > version that works (I use 5.3.0), or try for the latest (I think it's 8.2.1 or > thereabouts).
You basically need to set NOWERROR=1 to build for 32-bit MinGW due to compiler bugs. See https://docs.mamedev.org/initialsetup/compilingmame.html#issues-with-specific-compiler-versions
|
|