[ros-diffs] [janderwald] 51348: [USBEHCI_NEW] - Build fix #1 for mingw - Define cxa_pure_virtual which is required that gcc is aware that it should really use the libc++ instead of falling back to libc
janderwald at svn.reactos.org
janderwald at svn.reactos.org
Fri Apr 15 14:13:25 UTC 2011
Author: janderwald
Date: Fri Apr 15 14:13:24 2011
New Revision: 51348
URL: http://svn.reactos.org/svn/reactos?rev=51348&view=rev
Log:
[USBEHCI_NEW]
- Build fix #1 for mingw
- Define cxa_pure_virtual which is required that gcc is aware that it should really use the libc++ instead of falling back to libc
Added:
branches/usb-bringup/drivers/usb/usbehci_new/purecall.cpp (with props)
Modified:
branches/usb-bringup/drivers/usb/usbehci_new/CMakeLists.txt
Modified: branches/usb-bringup/drivers/usb/usbehci_new/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup/drivers/usb/usbehci_new/CMakeLists.txt?rev=51348&r1=51347&r2=51348&view=diff
==============================================================================
--- branches/usb-bringup/drivers/usb/usbehci_new/CMakeLists.txt [iso-8859-1] (original)
+++ branches/usb-bringup/drivers/usb/usbehci_new/CMakeLists.txt [iso-8859-1] Fri Apr 15 14:13:24 2011
@@ -9,6 +9,7 @@
hcd_controller.cpp
hardware.cpp
misc.cpp
+ purecall.cpp
usbehci.rc)
target_link_libraries(usbehci
Added: branches/usb-bringup/drivers/usb/usbehci_new/purecall.cpp
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup/drivers/usb/usbehci_new/purecall.cpp?rev=51348&view=auto
==============================================================================
--- branches/usb-bringup/drivers/usb/usbehci_new/purecall.cpp (added)
+++ branches/usb-bringup/drivers/usb/usbehci_new/purecall.cpp [iso-8859-1] Fri Apr 15 14:13:24 2011
@@ -1,0 +1,24 @@
+/*
+ * PROJECT: ReactOS Universal Serial Bus Bulk Enhanced Host Controller Interface
+ * LICENSE: GPL - See COPYING in the top level directory
+ * FILE: drivers/usb/usbehci_new/purecall.cpp
+ * PURPOSE: USB EHCI device driver.
+ * PROGRAMMERS:
+ * Michael Martin (michael.martin at reactos.org)
+ * Johannes Anderwald (johannes.anderwald at reactos.org)
+ */
+
+#include "usbehci.h"
+
+
+extern "C" {
+ void
+ __cxa_pure_virtual()
+ {
+ // put error handling here
+
+ DbgBreakPoint();
+
+ }
+}
+
Propchange: branches/usb-bringup/drivers/usb/usbehci_new/purecall.cpp
------------------------------------------------------------------------------
svn:eol-style = native
More information about the Ros-diffs
mailing list