Commit Graph

11 Commits

Author SHA1 Message Date
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
Jérôme Duval
a612e9ccb4 Fix for when there is no map for a type. Thanks Marcus !
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-16 22:45:27 +00:00
Axel Dörfler
0df774c143 Fixed warnings (added newlines to the end of the file).
Removed extra "root" reference in the Jamfile - libroot.so is linked
against automatically by ld.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-20 10:36:52 +00:00
beveloper
046f31f91f update to the codec api, docoder assignment is now handled in the server
multiple reader add-ons are probed to recognize a media file
FormatManager does the translation from media_format to media_description


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-14 19:23:16 +00:00
beveloper
1b1b7ddf8f remove warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-06 16:26:08 +00:00
Jérôme Duval
3a8fae2fb7 Debug info useless
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 13:39:42 +00:00
Jérôme Duval
96ee2f2de0 SaveState is now called from the media_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-03 10:27:12 +00:00
Jérôme Duval
f5ac08241f Handling invalid entry_ref
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-25 10:12:22 +00:00
Jérôme Duval
85918d337e DefaultManager now stores its state, MMediaFilesManager store fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-17 10:16:51 +00:00
Jérôme Duval
36a4855350 Added a 3 seconds delayed save to disk
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-13 09:13:08 +00:00
Jérôme Duval
4691dc7ff8 MediaFiles support added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-12 10:24:42 +00:00