If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Need advices on solving compile time errors.

Thanks eri, I asked back the original author, he said it wasn't needed anymore, so I just don't bother fiddling with it now.
Let's go to another question, (should I open a new thread?)
is that when I enclose certain things in a namespace say

the ::compressBound is not recognized. Is it supposed to be within Util or the global namespace.
If you have already used that before, it is called the zlib, it is also very common in IT industry. Just some compression stuff.
I am compiling the ykhwong build of dosbox.
Thanks
Jack

Re: Need advices on solving compile time errors.

Originally Posted by lucky6969b

Thanks eri, I asked back the original author, he said it wasn't needed anymore, so I just don't bother fiddling with it now.

I can hardly imagine that would ever have compiled under any version of the C++ or C standard, except perhaps it's some really funky and hard to comprehend "pattern" defining a macro within a macro expansion (what I somehow doubt is possile at all). And all that would heavily depend on the definition of the _CRT_WIDE macro which no-one around here except you may know by now.

As to the rest of your post: No-one can tell anything from that incomplete code snippet of yours. Not only that super short code snippets like this hardly ever are compilable in general, yours also suffers from unbalanced braces.

And no, I, myself, didn't ever use zlib.

I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.

This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.