On 64bit linux with gcc 4.5.1 long long and int64_t is not the same type. This cause build errors in the decoder and encoder classes. The easiest way to solve this in once for all seems to be introducing templates for en- and decoding unsigned long long and long long.
Created attachment 77725 [details] compile error - gcc output
Created attachment 77726 [details] Patch
Attachment 77726 [details] did not build on win: Build output: http://queues.webkit.org/results/7305292
Attachment 77726 [details] did not build on mac: Build output: http://queues.webkit.org/results/7212314
Oops. Now the new functions redefine the existing ones on 32 bit. The problem has been inverted. Need to find a trick to solving this.
Comment on attachment 77726 [details] Patch No good. This will break the build on any platform where int64_t and long long are the same type. We can't mix built-in types with typedefs easily.
After this bug is fixed I will enable WK2 build on one of our 64 bit buildbot not to break the 64 bit build again.
Attachment 77726 [details] did not build on qt: Build output: http://queues.webkit.org/results/7223307
Created attachment 77769 [details] Patch
I also had a bug for the problem: 51754, I mark this bug as duplicate so we discuss in one place. We have 3 patches for the same problem, we should be able to find a solution :) *** This bug has been marked as a duplicate of bug 51754 ***
Comment on attachment 77769 [details] Patch remove r? from obsolete patch