C++ WTF

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
blargg
Posts: 3715
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Re: C++ WTF

Post by blargg » Mon Jan 07, 2013 9:24 pm

Just in case anyone is wondering, there's no way to turn on all GCC warnings (despite -Wall), thus the list is necessary. It's a pity this is the case, since it means that each time they add new warnings, you must be sure you've enabled them. If they truely had a "turn all warnings on", you could add that to your options, then turn any off that you don't want. So when they add new warnings, you'd have them on, and if they were duds, you'd turn them off (-Wno...).

WedNESday
Posts: 1236
Joined: Thu Sep 15, 2005 9:23 am
Location: Berlin, Germany
Contact:

Re: C++ WTF

Post by WedNESday » Tue Jan 08, 2013 5:17 am

All fixed now guys. Turns out it was a buffer overflow, FetchData[] not Mirror[]. Thanks for all your help.

Post Reply