VirtualBox

Changeset 37025 in vbox for trunk


Ignore:
Timestamp:
May 10, 2011 11:31:36 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71640
Message:

Additions/x11/VBoxClient: clean up some forgotton C++-isms and stop us linking with libstdc++

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r37018 r37025  
    42514251#
    42524252# Template for building R3 programs for the guest additions.
    4253 # Note: Make sure you don't break VBOXGUESTR3CPPEXE when changing this.
    42544253#
    42554254TEMPLATE_VBOXGUESTR3EXE           = VBox Guest Program
     
    44084407        iconv
    44094408
    4410 #
    4411 # Template for guest stuff that makes use of the C++ library and features.
    4412 # (This is mostly about undoing what was done to C++ for VBOXGUESTR3EXE.)
    4413 #
    4414 TEMPLATE_VBOXGUESTR3CPPEXE           = VBox Guest Program with C++ library dependencies
    4415 TEMPLATE_VBOXGUESTR3CPPEXE_EXTENDS   = VBOXGUESTR3EXE
    4416 ifeq ($(KBUILD_TARGET),win)
    4417  # later if necessary
    4418 else
    4419  TEMPLATE_VBOXGUESTR3CPPEXE_TOOL     = $(TEMPLATE_VBOXR3EXE_TOOL)
    4420  TEMPLATE_VBOXGUESTR3CPPEXE_CXXFLAGS = $(TEMPLATE_VBOXR3EXE_CXXFLAGS)
    4421 endif
    4422 
    44234409
    44244410#
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r36810 r37025  
    2424PROGRAMS += VBoxClient
    2525
    26 VBoxClient_TEMPLATE = VBOXGUESTR3CPPEXE
     26VBoxClient_TEMPLATE = VBOXGUESTR3EXE
    2727VBoxClient_DEFS += VBOX_X11_CLIPBOARD VBOX_WITH_HGCM
    2828ifdef VBOX_WITH_DBUS
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.h

    r28800 r37025  
    119119        LogRelFlowFunc(("\n"));
    120120        if (mInit)
    121             try {
    122                 uninit(2000);
    123             } catch (...) { }
     121            uninit(2000);
    124122        LogRelFlowFunc(("returning\n"));
    125123    }
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless-host.h

    r36806 r37025  
    165165        {
    166166            LogRel(("VBoxClient: seamless host object still running!  Stopping...\n"));
    167             try
    168             {
    169                 stop(2000);
    170             }
    171             catch(...) {}
     167            stop(2000);
    172168        }
    173169        LogRelFlowFunc(("returning\n"));
  • trunk/src/VBox/Additions/x11/VBoxClient/seamless-x11.h

    r36806 r37025  
    246246    ~VBoxGuestSeamlessX11()
    247247    {
    248         try
    249         {
    250             uninit();
    251         }
    252         catch(...) {}
     248        uninit();
    253249        if (mDisplay)
    254250            XCloseDisplay(mDisplay);
  • trunk/src/VBox/Additions/x11/VBoxClient/thread.cpp

    r36807 r37025  
    5656    {
    5757        LogRelThisFunc(("Warning!  Stopping thread %s, as it is still running!\n", mName));
    58         try
    59         {
    60             stop(2000, 0);
    61         }
    62         catch(...) {}
     58        stop(2000, 0);
    6359    }
    6460    LogRelFlowFunc(("returning\n"));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette