From: Jozef Misutka <misutkajunior@ho...> - 2009-09-19 17:51:55
just made tools ansi c++ compatible so they can be compiled under win32.
it was not that difficult, however could they be compiled under linux in the past - e.g. common.cc? now they should be.
michal, please commit the boost patch to cvs.
Lauren found her dream laptop. Find the PC that’s right for you.
From: Michal Hocko <mstsxfx@gm...> - 2009-09-20 09:14:55
On Sat, Sep 19, 2009 at 05:51:42PM +0000, Jozef Misutka wrote:
> just made tools ansi c++ compatible so they can be compiled under win32.
> it was not that difficult,
Pity that you haven't waited for me and the tools moving patch because I
have to rebase the patchset... Not a big deal but I though that this was
the way how we are going to do that.
> however could they be compiled under linux in the past - e.g.
> common.cc? now they should be.
If you are concerned about variable sized array on stack (aka size_t x=value;
char foo[x];) construction then this is no problem for gcc (with -ansi
-std=c++98). It complains only when -pedantic parameter is added. We
are not using this parameter for a long time and that is the reason why
the compilation just worked. I though that this is broadly spread
feature of compilers. Anyway it should have been fixed for portability.
Thanks for doing that.
> michal, please commit the boost patch to cvs.
We haven't settled down on the final solution (placing tools), right?
Of course we can do it by committing the patch and then moving it out
(if we agree on that of course), but isn't this just the waste of time?
I've been out of network for last few days but I should be available on
> Lauren found her dream laptop. Find the PC that?s right for you.
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> Pdfedit-devel mailing list