From f5808137717eebb5b38607834016ed733374ccc5 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 19 Mar 2005 21:45:15 +0000 Subject: * child_info.h (fork_info): Use different method to alias variable. (spawn_info): Ditto. * cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x). (__cxa_guard_release): Ditto. * devices.in: Make sure stuff is correctly bracketed (for gcc 4.x). * devices.cc: Regenerate. * fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x). * smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use of regparm, for some reason. * sync.h (sync::init_lock): Remove. * sync.cc (sync::init_lock): Ditto. --- winsup/cygwin/cxx.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'winsup/cygwin/cxx.cc') diff --git a/winsup/cygwin/cxx.cc b/winsup/cygwin/cxx.cc index 9cc1342fe..1cee576f4 100644 --- a/winsup/cygwin/cxx.cc +++ b/winsup/cygwin/cxx.cc @@ -43,4 +43,14 @@ __cxa_pure_virtual (void) { api_fatal ("pure virtual method called"); } + +extern "C" void +__cxa_guard_acquire () +{ +} + +extern "C" void +__cxa_guard_release () +{ +} #endif -- cgit v1.2.3