Include system headers using "#include <file.h>", so GCC will not issue warnings about them.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@331 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne
2008-08-26 23:32:54 +00:00
parent 60a5a592f9
commit 734586a0ab
27 changed files with 84 additions and 81 deletions

View File

@ -15,8 +15,7 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include <iostream>
#include "string.h"
#include <cstring>
#include "Common.h"
#include "Thread.h"
@ -74,10 +73,10 @@ void Console_Submit(const char *cmd)
sscanf(cmd, "%s %08x", temp, &addr);
if (addr!=0)
{
#ifdef LOGGING
u32 EA =
#endif
{
#ifdef LOGGING
u32 EA =
#endif
Memory::CheckDTLB(addr, Memory::FLAG_NO_EXCEPTION);
LOG(CONSOLE, "EA 0x%08x to 0x%08x", addr, EA);
}

View File

@ -24,7 +24,7 @@
#include "MemoryCheckDlg.h"
#include "IniFile.h"
#include "wx/mstream.h"
#include <wx/mstream.h>
extern "C" {
#include "../resources/toolbar_add_breakpoint.c"

View File

@ -15,12 +15,12 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "wx/button.h"
#include "wx/textctrl.h"
#include "wx/textdlg.h"
#include "wx/listctrl.h"
#include "wx/thread.h"
#include "wx/mstream.h"
#include <wx/button.h>
#include <wx/textctrl.h>
#include <wx/textdlg.h>
#include <wx/listctrl.h>
#include <wx/thread.h>
#include <wx/mstream.h>
// ugly that this lib included code from the main
#include "../../DolphinWX/src/Globals.h"

View File

@ -18,9 +18,9 @@
#ifndef CODEWINDOW_H_
#define CODEWINDOW_H_
#include "wx/dialog.h"
#include "wx/textctrl.h"
#include "wx/listbox.h"
#include <wx/dialog.h>
#include <wx/textctrl.h>
#include <wx/listbox.h>
#include "Debugger.h"
#include "CodeView.h"
#include "Thread.h"

View File

@ -31,7 +31,7 @@ enum
#define wxUSE_XPM_IN_MSW 1
#define USE_XPM_BITMAPS 1
#include "wx/wx.h"
#include <wx/wx.h>
// define this to use XPMs everywhere (by default, BMPs are used under Win)
// BMPs use less space, but aren't compiled into the executable on other platforms

View File

@ -19,11 +19,11 @@
#include "IniFile.h"
#include "wx/button.h"
#include "wx/textctrl.h"
#include "wx/listctrl.h"
#include "wx/thread.h"
#include "wx/listctrl.h"
#include <wx/button.h>
#include <wx/textctrl.h>
#include <wx/listctrl.h>
#include <wx/thread.h>
#include <wx/listctrl.h>
#include "JitWindow.h"
#include "HW/CPU.h"
#include "PowerPC/PowerPC.h"

View File

@ -20,10 +20,10 @@
#include <vector>
#include "wx/dialog.h"
#include "wx/textctrl.h"
#include "wx/listctrl.h"
#include "wx/listbox.h"
#include <wx/dialog.h>
#include <wx/textctrl.h>
#include <wx/listctrl.h>
#include <wx/listbox.h>
#include "Debugger.h"
#include "MemoryView.h"
#include "Thread.h"

View File

@ -18,10 +18,10 @@
#include "Debugger.h"
#include "LogManager.h"
#include "wx/button.h"
#include "wx/textctrl.h"
#include "wx/listbox.h"
#include "wx/checklst.h"
#include <wx/button.h>
#include <wx/textctrl.h>
#include <wx/listbox.h>
#include <wx/checklst.h>
#include "LogWindow.h"
#include "Console.h"

View File

@ -19,11 +19,11 @@
#include "IniFile.h"
#include "wx/button.h"
#include "wx/textctrl.h"
#include "wx/listctrl.h"
#include "wx/thread.h"
#include "wx/listctrl.h"
#include <wx/button.h>
#include <wx/textctrl.h>
#include <wx/listctrl.h>
#include <wx/thread.h>
#include <wx/listctrl.h>
#include "MemoryWindow.h"
#include "HW/CPU.h"
#include "PowerPC/PowerPC.h"

View File

@ -18,9 +18,9 @@
#ifndef MEMORYWINDOW_H_
#define MEMORYWINDOW_H_
#include "wx/dialog.h"
#include "wx/textctrl.h"
#include "wx/listbox.h"
#include <wx/dialog.h>
#include <wx/textctrl.h>
#include <wx/listbox.h>
#include "Debugger.h"
#include "MemoryView.h"
#include "Thread.h"

View File

@ -29,7 +29,7 @@
#include "PluginManager.h"
#include "MemcardManager.h"
#include "wx/mstream.h"
#include <wx/mstream.h>
// ----------------------------------------------------------------------------
// resources

View File

@ -20,7 +20,7 @@
#include <vector>
#include "wx/listctrl.h"
#include <wx/listctrl.h>
#include "ISOFile.h"

View File

@ -54,28 +54,28 @@ enum
#define wxUSE_XPM_IN_MSW 1
#define USE_XPM_BITMAPS 1
// For compilers that support precompilation, includes "wx/wx.h".
//#include "wx/wxprec.h"
// For compilers that support precompilation, includes <wx/wx.h>.
//#include <wx/wxprec.h>
//#ifndef WX_PRECOMP
#include "wx/wx.h"
#include <wx/wx.h>
//#endif
#include "wx/toolbar.h"
#include "wx/log.h"
#include "wx/image.h"
#include "wx/aboutdlg.h"
#include "wx/filedlg.h"
#include "wx/spinctrl.h"
#include "wx/srchctrl.h"
#include "wx/listctrl.h"
#include "wx/progdlg.h"
#include "wx/imagpng.h"
#include "wx/button.h"
#include "wx/stattext.h"
#include "wx/choice.h"
#include "wx/cmdline.h"
#include "wx/busyinfo.h"
#include <wx/toolbar.h>
#include <wx/log.h>
#include <wx/image.h>
#include <wx/aboutdlg.h>
#include <wx/filedlg.h>
#include <wx/spinctrl.h>
#include <wx/srchctrl.h>
#include <wx/listctrl.h>
#include <wx/progdlg.h>
#include <wx/imagpng.h>
#include <wx/button.h>
#include <wx/stattext.h>
#include <wx/choice.h>
#include <wx/cmdline.h>
#include <wx/busyinfo.h>
// define this to use XPMs everywhere (by default, BMPs are used under Win)
// BMPs use less space, but aren't compiled into the executable on other platforms

View File

@ -58,7 +58,7 @@ void Host_CloseDisplay(){}
void Host_UpdateStatusBar(const char* _pText){}
// Include SDL header so it can hijack main().
#include "SDL.h"
#include <SDL.h>
int main(int argc, char* argv[])
{