Changes for Both New and Old Naming Schemes

For both new and old naming schemes some modifications are needed.

Namespace maxon

The namespace c4d_misc has been renamed to maxon. Note that if you set the legacy define (__LEGACY_API) you can still use c4d_misc.
The directive using namespace maxon; (using namespace c4d_misc; in legacy mode) will not work anymore as Int and maxon::Int (c4d_misc::Int in legacy mode) are ambiguous.
Instead an enclosing namespace maxon { } (namespace c4d_misc { } in legacy mode) or a prefix maxon:: (c4d_misc:: in legacy mode) should be used.

Clamp()

Any use of Clamp() in existing code needs to be changed to maxon::ClampValue().

Note
Maxon::ClampValue() has a different parameter order than Clamp(). Order now follows Peachey's definition.

Mac OS X

On Mac OS X any system specific carbon.h include has to be changed to include osx_include.h instead. The header makes sure there is no collision of UInt.

Debugging

c4d_debug.txt is gone. In release builds you can activate the debug memory model by using the command line parameter -g_alloc=debug (no spaces in-between).
On Windows the console window will open (and stay open if there were any leaks).