History log of /haiku/src/add-ons/translators/gif/SavePalette.cpp
Revision Date Author Comments
# 1705656e 24-May-2019 Augustin Cavalier <waddlesplash@gmail.com>

Add (void*) casts to memcpy/memset invocations to appease GCC 8.

A lot of these classes are not *technically* "trivially copyable"
for one reason or another, but in all of these cases it seems
OK to me to use memcpy/memset on them. Adding a cast to void*
tells GCC that "I know what I'm doing here" and shuts up the
warning.


# 2d612ef7 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Whitespace style fixes

Also remove break in last case.


# 5e4c29a6 28-Feb-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Style fixes


# 1cabed5e 24-May-2013 Murai Takashi <tmurai01@gmail.com>

fix self-inited fTransparentMode, closing #9788.

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>


# de6f4cc9 24-May-2013 Murai Takashi <tmurai01@gmail.com>

fix self-inited fTransparentMode, closing #9788.

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>


# 4e370115 22-May-2013 Murai Takashi <tmurai01@gmail.com>

GIFTranslator: fix incorrectly initialized fTransparentMode

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>


# f3780ae8 17-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

CID 715700, 715701: Fixed assumption of 4 byte pointer size.


# 758b1d0e 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

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


# 9949213a 19-Oct-2005 Stephan Aßmus <superstippi@gmx.de>

removed the redundant "translator" from the folder names, fixed some warnings in the JPEG2000Translator

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14449 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2d612ef7ae7c3c0c76a1b197b8098bd28a274abe 05-Mar-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Whitespace style fixes

Also remove break in last case.


# 5e4c29a6b7d6cf23b6ea0d9dd22bd4abf5c89c1a 28-Feb-2014 John Scipione <jscipione@gmail.com>

GIFTranslator: Style fixes


# 1cabed5eee03ed9cd7ff63cbea2a64677f9e634e 24-May-2013 Murai Takashi <tmurai01@gmail.com>

fix self-inited fTransparentMode, closing #9788.

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>


# de6f4cc9005ebcb7d47eae3abff01e7cd20ab314 24-May-2013 Murai Takashi <tmurai01@gmail.com>

fix self-inited fTransparentMode, closing #9788.

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>


# 4e370115ac11145fd6d4dfc0d8f2ea5aaa36b20d 22-May-2013 Murai Takashi <tmurai01@gmail.com>

GIFTranslator: fix incorrectly initialized fTransparentMode

Signed-off-by: Philippe Houdoin <philippe.houdoin@gmail.com>


# f3780ae8b2dcd5ae3b30bb9c4ffc36cbac58f3fe 17-Aug-2012 Alex Smith <alex@alex-smith.me.uk>

CID 715700, 715701: Fixed assumption of 4 byte pointer size.


# 758b1d0e05fe1042cce6e00d194a147802d4f9be 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

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


# 9949213a25979d177b420bc71891c2bff02a331d 19-Oct-2005 Stephan Aßmus <superstippi@gmx.de>

removed the redundant "translator" from the folder names, fixed some warnings in the JPEG2000Translator

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14449 a95241bf-73f2-0310-859d-f6bbb57e9c96