haiku/headers/private/kernel/util
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
..
AVLTreeMap.h Replaced <new> with <util/kernel_cpp.h> - this is the kernel. 2004-06-11 21:00:10 +00:00
AutoLock.h Added a BenaphoreLocker. 2005-04-13 22:40:48 +00:00
Constructor.h Replaced <new> with <util/kernel_cpp.h> - this is the kernel. 2004-06-11 21:00:10 +00:00
DoublyLinkedList.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
KMessage.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
KernelUtilsOrder.h Added a Vector based map implementation. 2003-07-01 20:37:17 +00:00
MallocFreeAllocator.h Allocator that uses malloc()/free() 2003-06-23 05:55:31 +00:00
SinglyLinkedList.h Switched from <Strategy> to <Value, Strategy = Auto> template paramter format. 2003-09-09 06:25:31 +00:00
Stack.h If booted from an image, the list of possible boot partitions is now ordered by 2005-10-18 18:45:55 +00:00
Vector.h This fixes several "implicit typename" warnings with GCC 3. 2004-06-17 12:37:40 +00:00
VectorMap.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
VectorSet.h This fixes all "implicit typename" warnings when compiling with GCC 3. 2004-06-17 12:51:57 +00:00
kernel_cpp.h Always define the symbols needed for basic C++ features. If we link against libgcc.a the symbols from there are simply overridden. 2004-11-03 17:33:17 +00:00
khash.h Minor header cleanup: moved some headers to better matching directories, 2005-03-19 01:58:05 +00:00
kqueue.h Minor header cleanup: moved some headers to better matching directories, 2005-03-19 01:58:05 +00:00
list.h Fixed a typo, thanks to Jack Burton for pointing this out. 2004-03-23 15:37:48 +00:00
queue.h Minor header cleanup: moved some headers to better matching directories, 2005-03-19 01:58:05 +00:00
ring_buffer.h Added a simple ring buffer implementation to be used by the mouse 2005-04-13 12:57:42 +00:00
syscall_args.h Moved the user_memcpy()/strlcpy()/memset() calls to KernelExport.h. 2004-09-29 10:29:00 +00:00