> Date: Fri, 16 Oct 2009 09:11:58 +0200
> From: mstsxfx@gmail.com
> To: misutkajunior@hotmail.com
> CC: pdfedit-devel@lists.sourceforge.net
> Subject: Re: [RFC Patch] force c/c++ standard for compilation
>
> On Sun, Oct 11, 2009 at 11:40:44PM +0200, Martin Petricek wrote:
> > >> gcc supports this standard so I have no objection. The question,
> > >> however, is what is the state of other compilers?
> > >
> > > http://wiki.apache.org/stdcxx/C++0xCompilerSupport
> > >
> > > It seems that many compilers don't support a big part of this standard
> > > and even gcc brought many features in post 4.3 versions).
> >
> > Seems the only thing widely supported is long long and extern templates
> > While gcc 4.3 is not that new, there are still many places where older
> > versions are used (4.1, 4.2, ...) and there are other compilers (intel,
> > msvc) with only newest version having some support. So I'd stick with older
> > standard for now. Perhaps except with long long, since we may need 64bit
> > integer sometimes...
> >
> > Is there any feature in c++0x that will make our code substantially
> > better/easier/more legible?
>

i am not sure what are you asking... whether we will use c++ features from TR1 from tomorrow? no, because it breaks compilation on todays compilers, as you said correctly.  no, because it is only TR. no, because we are using boost which implements many features from TR itself but is also backward compatible.

however my point was, that the standard is in most cases backward compatible (it does NOT change the behaviour of c++ on many places) so why not to use it?

Nevertheless, to avoid any problems/misunderstandigs etc, please use the spec you want.

/jozo



> Jozo?
>
> If not I will commit the patch in the original form.
>
> >
> > > I would be rather conservative here and stick to the older standard and
> > > move to the newer one later when necessary (e.g. when some of the
> > > library requires that).
> > >
> > > What is your opinion Martin?
> >
> > I'd stick with older standard too
> >
> > Martin Petricek
> >
> > --
> >
> >
> > GPG/PGP Public key: http://www.petricek.net/petricm.pgp
> > Fingerprint 6AA8 FFCE C061 1CB2 55F0 A1F3 3AA9 EB4F BD50 C1B8
> > /------------------------------------------------------------\
> > | WWW: http://www.petricek.net/ |
> > \------------------------------------------------------------/
> >
> > ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) 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!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > Pdfedit-devel mailing list
> > Pdfedit-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pdfedit-devel
>
> --
> Michal Hocko


Hotmail: Powerful Free email with security by Microsoft. Get it now.