VirtualBox

Ignore:
Timestamp:
Nov 6, 2008 11:53:47 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
38915
Message:

Fixed include order, a bunch of GCC 3.3 warnings, OS/2 build.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r13547 r13908  
    6464 # Hack for installing the qt.dll when building for OS/2.
    6565 #
    66  ifneq ($(strip $(VBOX_DLL_QT)),)
     66 ifneq ($(strip $(DLL_SDK_QT3_QT)),)
    6767  INSTALLS.os2 += qt.dll
    6868  qt.dll_INST = $(INST_BIN)
    6969  qt.dll_SOURCES += \
    70         $(VBOX_DLL_QT)=>$(not-dir $(VBOX_DLL_QT))
     70        $(DLL_SDK_QT3_QT)=>$(not-dir $(DLL_SDK_QT3_QT))
    7171 endif
    7272endif # OS/2
     
    339339
    340340VirtualBox_INCS           = \
     341    . \
    341342        ./include \
    342343        $(PATH_VirtualBox)/include
  • trunk/src/VBox/Frontends/VirtualBox/src/QIWidgetValidator.cpp

    r8170 r13908  
    2323#include "QIWidgetValidator.h"
    2424
     25#include "VBoxGlobal.h"
     26
    2527#include <qobjectlist.h>
    2628#include <qlineedit.h>
     
    2931
    3032#include <iprt/assert.h>
    31 
    32 #include "VBoxGlobal.h"
    3333
    3434/** @class QIWidgetValidator
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxMediaComboBox.cpp

    r13580 r13908  
    107107QUuid VBoxMediaComboBox::id (int aIndex /*= -1*/)
    108108{
     109#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
    109110    AssertReturn (aIndex == -1 ||
    110111                  (aIndex >= 0 && (size_t) aIndex < mMedia.size()),
    111112                  QUuid());
     113#else
     114    static QUuid null;
     115    AssertReturn (aIndex == -1 ||
     116                  (aIndex >= 0 && (size_t) aIndex < mMedia.size()),
     117                  null);
     118#endif
    112119
    113120    return mMedia [aIndex == -1 ? currentItem() : aIndex].id;
Note: See TracChangeset for help on using the changeset viewer.

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