Ticket #936: gcc-4.3.patch
| File gcc-4.3.patch, 3.0 KB (added by , 17 years ago) |
|---|
-
src/VBox/Main/VMMDevInterface.cpp
old new 27 27 #include <VBox/VBoxGuest.h> 28 28 #include <VBox/shflsvc.h> 29 29 #include <iprt/asm.h> 30 #include <stdio.h> 30 31 31 32 #ifdef VBOX_HGCM 32 33 #include "hgcm/HGCM.h" -
src/VBox/Additions/linux/xclient/main.cpp
old new using std::endl; 30 30 #include <sys/types.h> 31 31 #include <unistd.h> 32 32 #include <getopt.h> 33 #include <stdlib.h> 33 34 34 35 #include <X11/Xlib.h> 35 36 #include <X11/Intrinsic.h> -
src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
old new 28 28 #include "VBoxRegistrationDlg.h" 29 29 #endif 30 30 31 #include <stdlib.h> 32 31 33 #include <qapplication.h> 32 34 #include <qmessagebox.h> 33 35 #include <qpixmap.h> -
src/VBox/Frontends/VirtualBox/src/HappyHttp.cpp
old new 68 68 #include <cstdarg> 69 69 #include <assert.h> 70 70 71 #include <locale> 71 72 #include <string> 72 73 #include <vector> 73 74 #include <string> … … namespace happyhttp 86 87 const char* GetWinsockErrorString( int err ); 87 88 #endif 88 89 90 /* 91 * structs needed for std::transform() 92 * See: http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html#7 93 */ 94 struct ToUpper { 95 ToUpper(std::locale const& l) : loc(l) {;} 96 char operator() (char c) const { return std::toupper(c,loc); } 97 private: 98 std::locale const& loc; 99 }; 100 101 struct ToLower { 102 ToLower(std::locale const& l) : loc(l) {;} 103 char operator() (char c) const { return std::tolower(c,loc); } 104 private: 105 std::locale const& loc; 106 }; 89 107 90 108 //--------------------------------------------------------------------- 91 109 // Helper functions … … Response::Response( const char* method, 537 555 538 556 const char* Response::getheader( const char* name ) const 539 557 { 558 ToLower __tolower(std::locale::classic()); 559 540 560 std::string lname( name ); 541 std::transform( lname.begin(), lname.end(), lname.begin(), tolower );561 std::transform( lname.begin(), lname.end(), lname.begin(), __tolower ); 542 562 543 563 std::map< std::string, std::string >::const_iterator it = m_Headers.find( lname ); 544 564 if( it == m_Headers.end() ) -
src/recompiler/InnoTek/op-validate.sed
old new s/^[[:blank:]]*ret[[:blank:]]*\n*[[:blan 63 63 /\.Lfe[0-9][0-9]*:/d 64 64 /\.LFE[0-9][0-9]*:/d 65 65 /size[[:space:]]/d 66 /p2align[[:space:]]/d 67 /^[/#][[:space:]]0[[:space:]]\"\"[[:space:]]2[[:space:]]*$/d 66 68 /^[/#]NO_APP[[:space:]]*$/d 67 69 /^$/!b bad 68 70 b end

