| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"spipyeah" |
| Date: |
12 Sep 2003 03:00:53 AM |
| Object: |
C++ sample source to test compiler compliancy |
Is there a collection of C++ source files that can be used to test
compiler compliancy by using really extreme language cases, making
sure the standard library is complete, and other such things?
.
|
|
| User: "tom_usenet" |
|
| Title: Re: C++ sample source to test compiler compliancy |
12 Sep 2003 04:30:19 AM |
|
|
On 12 Sep 2003 01:00:53 -0700, (spipyeah) wrote:
Is there a collection of C++ source files that can be used to test
compiler compliancy by using really extreme language cases, making
sure the standard library is complete, and other such things?
http://www.plumhall.com/suites.html
http://www.peren.com/pages/cppvs.htm
http://www.dinkumware.com/cproofer.html (library only)
also:
http://www.cuj.com/documents/s=8027/cuj0104sutter/sutter.htm
I'm not aware of anything free that attempts to check conformance
properly.
Tom
.
|
|
|
| User: "Greg Comeau" |
|
| Title: Re: C++ sample source to test compiler compliancy |
12 Sep 2003 11:46:47 PM |
|
|
In article <5e43mvob6a6c73hngqp9ppdg07d0jhoju2@4ax.com>,
tom_usenet <tom_usenet@hotmail.com> wrote:
On 12 Sep 2003 01:00:53 -0700, (spipyeah) wrote:
Is there a collection of C++ source files that can be used to test
compiler compliancy by using really extreme language cases, making
sure the standard library is complete, and other such things?
http://www.plumhall.com/suites.html
http://www.peren.com/pages/cppvs.htm
http://www.dinkumware.com/cproofer.html (library only)
also:
http://www.cuj.com/documents/s=8027/cuj0104sutter/sutter.htm
I'm not aware of anything free that attempts to check conformance
properly.
I don't know the critereas used, but I understand there
is also an upcoming article in DDJ due shortly too.
--
Greg Comeau/4.3.3:Full C++03 core language + more Windows backends
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
.
|
|
|
| User: "spipyeah" |
|
| Title: Re: C++ sample source to test compiler compliancy |
15 Sep 2003 04:57:30 PM |
|
|
Creg, if I may ask, in your experience, how does GNU g++ usually fare?
.
|
|
|
| User: "David B. Held" |
|
| Title: Re: C++ sample source to test compiler compliancy |
16 Sep 2003 03:12:48 AM |
|
|
"spipyeah" <spip_yeah@yahoo.com> wrote in message
news:882fe461.0309151357.13d97d31@posting.google.com...
Creg, if I may ask, in your experience, how does GNU g++
usually fare?
In my opinion, gcc 3.3 is outstanding. It might have bugs, but
I haven't run across one yet!
Dave
.
|
|
|
| User: "White Wolf" |
|
| Title: Re: C++ sample source to test compiler compliancy |
16 Sep 2003 10:34:54 AM |
|
|
David B. Held wrote:
"spipyeah" <spip_yeah@yahoo.com> wrote in message
news:882fe461.0309151357.13d97d31@posting.google.com...
Creg, if I may ask, in your experience, how does GNU g++
usually fare?
In my opinion, gcc 3.3 is outstanding. It might have bugs, but
I haven't run across one yet!
3.3 or 3.3.1?
And I guess you mean that at the features claimed to be supported. I guess
two phase name lookup is not there yet and ordering... but I could not find
their compliance statement.
--
WW aka Attila
.
|
|
|
| User: "llewelly" |
|
| Title: Re: C++ sample source to test compiler compliancy |
16 Sep 2003 04:40:40 PM |
|
|
"White Wolf" <wolof@freemail.hu> writes:
David B. Held wrote:
"spipyeah" <spip_yeah@yahoo.com> wrote in message
news:882fe461.0309151357.13d97d31@posting.google.com...
Creg, if I may ask, in your experience, how does GNU g++
usually fare?
In my opinion, gcc 3.3 is outstanding. It might have bugs, but
I haven't run across one yet!
3.3 or 3.3.1?
And I guess you mean that at the features claimed to be supported. I guess
two phase name lookup is not there yet and ordering... but I could not find
their compliance statement.
It is my impression that gcc 3.4 will have two-phase lookup. gcc
3.3.x does not. 3.3.1 is only a bugfix release on 3.3 .
.
|
|
|
|
|
|
|
|
| User: "spipyeah" |
|
| Title: Re: C++ sample source to test compiler compliancy |
15 Sep 2003 04:55:31 PM |
|
|
Thank you all, I'll be checking all those resources, and keep an eye on DDJ too.
.
|
|
|
|
|
| User: "Attila Feher" |
|
| Title: Re: C++ sample source to test compiler compliancy |
12 Sep 2003 04:08:03 AM |
|
|
spipyeah wrote:
Is there a collection of C++ source files that can be used to test
compiler compliancy by using really extreme language cases, making
sure the standard library is complete, and other such things?
If you want to know about a specific compiler then I think at Boost you can
find out a lot.
--
Attila aka WW
.
|
|
|
| User: "tom_usenet" |
|
| Title: Re: C++ sample source to test compiler compliancy |
12 Sep 2003 05:25:05 AM |
|
|
On Fri, 12 Sep 2003 12:08:03 +0300, "Attila Feher"
<attila.feher@lmf.ericsson.se> wrote:
spipyeah wrote:
Is there a collection of C++ source files that can be used to test
compiler compliancy by using really extreme language cases, making
sure the standard library is complete, and other such things?
If you want to know about a specific compiler then I think at Boost you can
find out a lot.
The problem is that boost makes extensive use of workarounds to make
code work for non-standard compilers. The percentage of passed boost
regression tests is far more an indication of the amount of work that
has been put into porting boost to that compiler than of the
conformance of that compiler.
e.g. g++ and Metroworks both score "better" than Comeau C++.
Tom
.
|
|
|
| User: "Greg Comeau" |
|
| Title: Re: C++ sample source to test compiler compliancy |
12 Sep 2003 08:33:47 PM |
|
|
In article <bd73mvgobn9pelntumacu3fen92kljcojm@4ax.com>,
tom_usenet <tom_usenet@hotmail.com> wrote:
On Fri, 12 Sep 2003 12:08:03 +0300, "Attila Feher"
<attila.feher@lmf.ericsson.se> wrote:
spipyeah wrote:
Is there a collection of C++ source files that can be used to test
compiler compliancy by using really extreme language cases, making
sure the standard library is complete, and other such things?
If you want to know about a specific compiler then I think at Boost you can
find out a lot.
The problem is that boost makes extensive use of workarounds to make
code work for non-standard compilers. The percentage of passed boost
regression tests is far more an indication of the amount of work that
has been put into porting boost to that compiler than of the
conformance of that compiler.
e.g. g++ and Metroworks both score "better" than Comeau C++.
Right, Boost does not provide a measure of compliance to
Standard C++. I suspect the OP is looking for some test
suites, though "extreme language cases" may be asking for more.
--
Greg Comeau/4.3.3:Full C++03 core language + more Windows backends
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
.
|
|
|
|
| User: "Attila Feher" |
|
| Title: Re: C++ sample source to test compiler compliancy |
12 Sep 2003 05:40:41 AM |
|
|
tom_usenet wrote:
On Fri, 12 Sep 2003 12:08:03 +0300, "Attila Feher"
<attila.feher@lmf.ericsson.se> wrote:
spipyeah wrote:
Is there a collection of C++ source files that can be used to test
compiler compliancy by using really extreme language cases, making
sure the standard library is complete, and other such things?
If you want to know about a specific compiler then I think at Boost
you can find out a lot.
The problem is that boost makes extensive use of workarounds to make
code work for non-standard compilers. The percentage of passed boost
regression tests is far more an indication of the amount of work that
has been put into porting boost to that compiler than of the
conformance of that compiler.
e.g. g++ and Metroworks both score "better" than Comeau C++.
That is why I did not say: look at the Boost compatibility charts, but that
"at Boost you can find out a lot." What I meant is that if he has a
specific compiler in mind he can look at what workarounds are there for it
in Boost, read (possibly ask) on the mailing list etc.
--
Attila aka WW
.
|
|
|
|
|
|

|
Related Articles |
|
|