haiku/headers/os/kernel
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
..
OS.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
debugger.h * Introduced a new debugger message B_DEBUGGER_MESSAGE_HANDED_OVER, which 2005-07-15 12:18:33 +00:00
disk_scanner.h Removed extended_partition_info::partition_code field. 2003-02-18 21:28:30 +00:00
fs_attr.h Unified the look of the different files a bit (their headers in particular). 2003-01-29 14:45:15 +00:00
fs_index.h Unified the look of the different files a bit (their headers in particular). 2003-01-29 14:45:15 +00:00
fs_info.h Unified the look of the different files a bit (their headers in particular). 2003-01-29 14:45:15 +00:00
fs_query.h New fs_query.h header. 2003-01-29 14:43:38 +00:00
fs_volume.h fs_mount_volume() now returns a dev_t as well - changed mount/mountvolume to take 2005-10-20 13:03:50 +00:00
image.h Added (currently only) flag B_WAIT_TILL_LOADED for _kern_load_image() 2005-03-12 15:01:25 +00:00
scheduler.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00