Work in progress: Serialization in a more normal c++ way
Made a test: serialize.cpp and added standard serialization to several classes
Test passes on Mac OS X Maverick
Note: Currently non of the code is active !
Added stdint.h to Serialization.h (compile on linux)
and <climits> for Serilization.cpp
Attempt to avoid GCC warning: anonymous variadic macros were introduced in C99
another attempt at awoid the variadic macro warning
Change all coin, coinChain, coinHTTP and coinPool classes to use istringstream based serialization.
Tested on namecoin and doge and works
Need to also change the Peer class to use proper string buffers instead of the clumsy CDataStream hack.
fixed version filter back to function properly again
Removed the CDataStream and its IMPLEMENT_SERIALIZATION macros.
Everything is now moved to a lightweight stringstream based serialization.
Peer is also using stringstreams/streambuf
Tested with dogecoin/namecoin - all looks good
Note - this commit breaks the coinWallet library build - need to fix!
Cleaning up after the CDataStream removal
Cleaning up the Peer.h as well
Still coinWallet does not build
This commit concludes the Serialization changes to libcoin. CDataStream and serialize.h are no longer a core part of libcoin. They still live in the core wallet implementation, however.
Note The wallet serialization has not been throughly tested yet…

Tested on bitcoin,libcoin,dogecoin,litecoin all works
removed coinChain/Version.cpp/h from the cmakelists file (should never had been there in the first place)
fixed hashwriter class in cryptoshi (test!)
fixed a couple of pedantic warnings
more pedantic warnings (;;)
pedantic warning fix: extra ,
Fixed signed / unsigned comparison warnings
variadic ## macro warning fixed (or perhaps…)
returning void (blocktreee distance) fixed
more warning fixes
FIxing variadic macro warning issue on GCC ?
Trying on variadic macroes again
more macro warning tests