haiku/headers/os/interface
Ingo Weinhold 758b1d0e05 Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
  declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
  explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
  something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
  'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
  is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
  Otherwise the an inner class with that name is considered as friend.
  gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-11-12 23:27:14 +00:00
..
Alert.h It is accomplished ... 2002-07-09 12:24:59 +00:00
Bitmap.h Implemented BPrivateScreen::ReadBitmap(), but the guts are still missing 2005-07-13 22:33:52 +00:00
Box.h It is accomplished ... 2002-07-09 12:24:59 +00:00
Button.h Forgot to commit the changed header too. 2005-06-30 09:14:08 +00:00
ChannelControl.h Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :) 2005-02-01 14:29:06 +00:00
ChannelSlider.h Vertical() can be const and should be, when invoked on a const instance. 2005-02-02 13:33:34 +00:00
CheckBox.h no Invalidate in BControl::SetValue, I figure more controls need to be updated for this change 2005-06-03 19:55:49 +00:00
ColorControl.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
ColorUtils.h Tweak to FindClosestColor 2004-09-05 00:46:37 +00:00
Control.h It is accomplished ... 2002-07-09 12:24:59 +00:00
Deskbar.h clean up 2004-10-25 08:31:38 +00:00
Dragger.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
Font.h BFont::_GetExtraFlags() no longer returns a status value, but fills in default 2005-11-07 11:08:27 +00:00
GraphicsDefs.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
Input.h It is accomplished ... 2002-07-09 12:24:59 +00:00
InterfaceDefs.h R5 needs a 3 buttons map only 2004-10-07 15:14:29 +00:00
ListItem.h to stay compatible, ListItem.h now also declares BStringItem 2002-10-29 19:52:00 +00:00
ListView.h Completely replaced the ListView.h header - the old one wasn't compatible 2002-10-29 18:36:30 +00:00
Menu.h Minor header-related changes 2003-05-14 17:21:46 +00:00
MenuBar.h Minor header-related changes 2003-05-14 17:21:46 +00:00
MenuField.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
MenuItem.h Moved BSeparatorItem's interface to its own file. Everything still builds, amazing :P 2004-12-30 10:11:38 +00:00
MultiChannelControl.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
OptionControl.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
OptionPopUp.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
OutlineListView.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
Picture.h Imported Marc Flerackers' header for BPicture 2003-03-18 22:04:04 +00:00
PictureButton.h New addition, with required modification to build file. 2002-08-28 03:41:58 +00:00
Point.h It is accomplished ... 2002-07-09 12:24:59 +00:00
Polygon.h Adding implementation provided by Marc Flerackers. 2002-10-16 04:29:31 +00:00
PopUpMenu.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
PrintJob.h It is accomplished ... 2002-07-09 12:24:59 +00:00
RadioButton.h improved look and applied style guide, fixed redrawing in BWindows with synchronous controls, it wouldn't have mattered if Haiku didn't have anti-aliasing, override B_RETURN on keydown to disallow turning the control off 2005-11-05 16:46:36 +00:00
Rect.h Cleanup. 2005-06-04 15:15:42 +00:00
Region.h Renamed BAppServerLink to AppServerLink, BPortLink to PortLink, LinkMsgReader 2005-06-14 21:28:56 +00:00
Screen.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
ScrollBar.h also contains code and ideas from Stefano 2005-11-07 01:33:09 +00:00
ScrollView.h Added a private static BorderSize() method. I wonder why those functions 2004-02-20 18:43:34 +00:00
SeparatorItem.h Moved BSeparatorItem's interface to its own file. Everything still builds, amazing :P 2004-12-30 10:11:38 +00:00
Shape.h Renamed BAppServerLink to AppServerLink, BPortLink to PortLink, LinkMsgReader 2005-06-14 21:28:56 +00:00
Shelf.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
Slider.h Improved BSlider class: 2005-06-29 02:12:42 +00:00
StatusBar.h It is accomplished ... 2002-07-09 12:24:59 +00:00
StringItem.h Removed BStringItem class from ListItem.h. 2002-10-29 18:41:51 +00:00
StringView.h It is accomplished ... 2002-07-09 12:24:59 +00:00
TabView.h Initial Checkin 2002-09-26 14:53:19 +00:00
TextControl.h This is the full header of BTextControl 2003-06-20 10:09:19 +00:00
TextView.h rename RecalLineBreaks to RecalculateLineBreaks ; use ceil() when computing the origins for lines 2004-11-11 10:07:40 +00:00
UnicodeBlockObjects.h It is accomplished ... 2002-07-09 12:24:59 +00:00
View.h Some refactoring and cleanup: 2005-06-28 23:02:44 +00:00
Window.h * Rewrote shortkey handling - it now actually works as expected. 2005-11-12 16:13:06 +00:00