Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02468 Compiling Major Always Oct 2, 2008, 17:15 Oct 3, 2008, 03:49
Tester Roman View Status Public Platform MAME (Self-compiled)
Assigned To aaron Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.127u6 Fixed in Version 0.127u7 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 02468: 64 bit build fails
Description Compiling src/emu/machine/ldcore.c...
ldcore.c
d:\mameemu\src\emu\machine\ldcore.c(911) : error C2220: warning treated as error
 - no 'object' file generated
d:\mameemu\src\emu\machine\ldcore.c(911) : warning C4701: potentially uninitiali
zed local variable 'vbidata' used
mingw32-make: *** [obj/windows/vmame/emu/machine/ldcore.o] Error 2
Steps To Reproduce
Additional Information
Github Commit
Flags 64-bit specific
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.02665
john_iv
Senior Tester
Oct 2, 2008, 18:19
edited on: Oct 2, 2008, 18:20
Aaron sent the fix for this after the release, it's a one liner. I don't have it atm but will post it when I get home in 7 hours unless someone else does it.
User avatar
No.02669
john_iv
Senior Tester
Oct 3, 2008, 03:49
Modified: trunk/src/emu/machine/ldcore.c
===================================================================
--- trunk/src/emu/machine/ldcore.c 2008-10-02 05:54:00 UTC (rev 2975)
+++ trunk/src/emu/machine/ldcore.c 2008-10-02 15:05:46 UTC (rev 2976)
@@ -890,7 +890,7 @@
  ldcore_data *ldcore = ld->core;
  UINT32 tracknum = ldcore->curtrack;
  UINT32 fieldnum = ldcore->fieldnum;
- vbi_metadata vbidata;
+ vbi_metadata vbidata = { 0 };
  frame_data *frame;
  UINT32 vbiframe;
  UINT32 readhunk;