C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiler suggestion

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
Dave Theese
Guest





PostPosted: Sun Aug 17, 2003 11:49 am    Post subject: Compiler suggestion Reply with quote




Hello all,

A somewhat subjective question:

Of all the current compilers out there, which one offers the best support
for Boost and Loki? In other words, which has the best template support?

I have VC++ .NET 2003 and it is pretty darn good, but I have come across
some things I cannot build. Which compilers are better, even if not
perfect? My understanding is that no compiler currently in existence will
build all of Boost or Loki...

Thanks,
Dave


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Edward Diener
Guest





PostPosted: Sun Aug 17, 2003 4:41 pm    Post subject: Re: Compiler suggestion Reply with quote



Dave Theese wrote:
Quote:
Hello all,

A somewhat subjective question:

Of all the current compilers out there, which one offers the best
support for Boost and Loki? In other words, which has the best
template support?

I have VC++ .NET 2003 and it is pretty darn good, but I have come
across some things I cannot build. Which compilers are better, even
if not perfect? My understanding is that no compiler currently in
existence will build all of Boost or Loki...

The Comeau C++ compiler is regarded as the best around and the most
conformant to the C++ standard.


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
Shannon Barber
Guest





PostPosted: Mon Aug 18, 2003 10:58 am    Post subject: Re: Compiler suggestion Reply with quote



"Dave Theese" <cheeser_1998 (AT) yahoo (DOT) com> wrote

Quote:
Hello all,

A somewhat subjective question:

Of all the current compilers out there, which one offers the best support
for Boost and Loki? In other words, which has the best template support?

Those are not the same two questions. Boost has many work-arounds for
less-than-compliant compilers - many things even work with Sun's
compilers. Loki has ports that avoid the more troublesome template
areas for older compilers (a partial port even exist for MSVC6).
Which compilers have the best support for Loki is not at all
subjective, I can tell you with impunity that it is MSVC 7.1 and gcc
3.2.

Quote:
I have VC++ .NET 2003 and it is pretty darn good, but I have come across
some things I cannot build. Which compilers are better, even if not
perfect? My understanding is that no compiler currently in existence will
build all of Boost or Loki...

VS 2k3 and gcc 3.2 should not only build all of Loki, but execute it
correctly, with the exception of the Conversion meta-template which I
have yet to see a compiler pass (I think the test might be broken... I
never use it so it never gets fixed Razz).

I actively use Loki with MSVC7.1 and gcc3.2, so those are your best
bets. Sometime next week I am going to upload fixes and make a new
zip to download. Right now, I think you have to run the headergen
utility to make headers compatible with MSVC7.1 (it use the reference
code, not the 7.0 port).

Those two compilers have the best chances of compiling all of Boost
too (the lambda function, generic binder, and the new 'Spirit' library
are the template hot-spots.)

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
Andy Sawyer
Guest





PostPosted: Mon Aug 18, 2003 11:06 am    Post subject: Re: Compiler suggestion Reply with quote

In article <6DG%a.2145$QT5.459@fed1read02>,
on 17 Aug 2003 07:49:53 -0400,
"Dave Theese" <cheeser_1998 (AT) yahoo (DOT) com> wrote:

Quote:
Hello all,

A somewhat subjective question:

Of all the current compilers out there, which one offers the best support
for Boost and Loki? In other words, which has the best template support?

I have VC++ .NET 2003 and it is pretty darn good, but I have come across
some things I cannot build. Which compilers are better, even if not
perfect? My understanding is that no compiler currently in existence will
build all of Boost or Loki...

Try Comeau C++ - http://www.comeaucomputing.com

Based on the EDG front end, it's one of the (if not *the*) most
conforming compiler implementations out there.

Regards,
Andy S.
--
"Light thinks it travels faster than anything but it is wrong. No matter
how fast light travels it finds the darkness has always got there first,
and is waiting for it." -- Terry Pratchett, Reaper Man

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
David Abrahams
Guest





PostPosted: Tue Aug 19, 2003 12:04 am    Post subject: Re: Compiler suggestion Reply with quote

Andy Sawyer <andys (AT) despammed (DOT) com> writes:

Quote:
In article <6DG%a.2145$QT5.459@fed1read02>,
on 17 Aug 2003 07:49:53 -0400,
"Dave Theese" <cheeser_1998 (AT) yahoo (DOT) com> wrote:

Hello all,

A somewhat subjective question:

Of all the current compilers out there, which one offers the best support
for Boost and Loki? In other words, which has the best template support?

I have VC++ .NET 2003 and it is pretty darn good, but I have come across
some things I cannot build. Which compilers are better, even if not
perfect? My understanding is that no compiler currently in existence will
build all of Boost or Loki...

Try Comeau C++ - http://www.comeaucomputing.com

Based on the EDG front end, it's one of the (if not *the*) most
conforming compiler implementations out there.

See http://boost.sourceforge.net/regression-logs/

Great conformance doesn't guarantee that it works perfectly with
Boost, or even that we've been able to configure it properly ;-)

--
Dave Abrahams
Boost Consulting
www.boost-consulting.com

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
llewelly
Guest





PostPosted: Wed Aug 20, 2003 12:03 am    Post subject: Re: Compiler suggestion Reply with quote

David Abrahams <dave (AT) boost-consulting (DOT) com> writes:

Quote:
Andy Sawyer <andys (AT) despammed (DOT) com> writes:

In article <6DG%a.2145$QT5.459@fed1read02>,
on 17 Aug 2003 07:49:53 -0400,
"Dave Theese" <cheeser_1998 (AT) yahoo (DOT) com> wrote:

Hello all,

A somewhat subjective question:

Of all the current compilers out there, which one offers the best support
for Boost and Loki? In other words, which has the best template support?

I have VC++ .NET 2003 and it is pretty darn good, but I have come across
some things I cannot build. Which compilers are better, even if not
perfect? My understanding is that no compiler currently in existence will
build all of Boost or Loki...

Try Comeau C++ - http://www.comeaucomputing.com

Based on the EDG front end, it's one of the (if not *the*) most
conforming compiler implementations out there.

See http://boost.sourceforge.net/regression-logs/

Great conformance doesn't guarantee that it works perfectly with
Boost, or even that we've been able to configure it properly Wink

To me this means the amount of effort exerted by the boost
developers in trying to support a particular compiler has more
influence on the boost regression tests than the conformance of
the compiler. (This isn't necessarily a bad thing; after all, the
boost regression tests are intended to test how well boost works
on a compiler, not the conformance of a compiler.)

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.