- --
 
      Viewing Issue Advanced Details
    
  
      
      [ Jump to Notes ]       
          
    | ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 03298 | Compiling | Minor | Always | Jul 10, 2009, 04:42 | Jul 10, 2009, 11:42 | 
| Tester | Justin Kerk | View Status | Public | Platform | MAME (Self-compiled) | 
| Assigned To | aaron | Resolution | Fixed | OS | Windows XP/Vista/7 64-bit | 
| Status [?] | Resolved | Driver | |||
| Version | 0.132u4 | Fixed in Version | 0.132u5 | Build | 64-bit | 
| Fixed in Git Commit | Github Pull Request # | ||||
| Summary | 03298: Warning at devintrf.c:128 compiling with MSVC | ||||
| Description | 
          Dunno if MSVC issues are accepted here, but doing a 64-bit compile of 0.132u4 (not yet available in the version drop-down ;) ) with MSVC 2008 I get the following warning: src\emu\devintrf.c(128) : error C2220: warning treated as error - no 'object' file generated src\emu\devintrf.c(128) : warning C4090: 'function' : different 'const' qualifiers src\emu\devintrf.c(144) : warning C4090: 'function' : different 'const' qualifiers  | 
      ||||
| Steps To Reproduce | |||||
| Additional Information | 
          Full command line: mingw32-make -j3 SYMBOLS=1 OPTIMIZE=3 PROFILER=1 ARCHOPTS="-march=pentium-m -msse3" LIB="%LIB%;%DXSDK_DIR%lib\x64" INCLUDE="%INCLUDE%;%DXSDK_DIR%include" MAMEOS=windows MAP=1 DIRECTINPUT=8 DIRECT3D=9 MSVC_BUILD=1 PREFIX= PTR64=1  | 
      ||||
| Github Commit | |||||
| Flags | |||||
| Regression Version | 0.132u4 | ||||
| Affected Sets / Systems | |||||
| 
               Attached Files 
             | 
            |||||
      Relationships
		
    
  | There are no relationship linked to this issue. | 
      Notes
      
    
  2
    | 
             No.04626 
            john_iv             Senior Tester 
            
            Jul 10, 2009, 05:54 
                         | 
          
            Per Aaron Modified: trunk/src/emu/devintrf.c =================================================================== --- trunk/src/emu/devintrf.c 2009-07-10 05:23:48 UTC (rev 6055) +++ trunk/src/emu/devintrf.c 2009-07-10 05:47:32 UTC (rev 6056) @@ -125,7 +125,7 @@ /* populate device configuration */ device->clock = clock; - memset(device->address_map, 0, sizeof(device->address_map)); + memset((void *)device->address_map, 0, sizeof(device->address_map)); if ((device->clock & 0xff000000) == 0xff000000) { assert(device->owner != NULL); @@ -141,7 +141,7 @@ device->tokenbytes = 0; device->region = NULL; device->regionbytes = 0; - memset(device->space, 0, sizeof(device->space)); + memset((void *)device->space, 0, sizeof(device->space)); device->execute = NULL; /* append the tag */  | 
        
|---|---|
| 
             No.04627 
            etabeta             Developer 
            
            Jul 10, 2009, 07:43 
                         | 
          Fixed in next version |