C ++示例源代码,用于测试编译器的合规性 [英] C++ sample source to test compiler compliancy

查看:99
本文介绍了C ++示例源代码,用于测试编译器的合规性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一系列C ++源文件可用于测试

编译器的合规性,使用非常极端的语言案例,使

确保标准库完整,和其他类似的东西?

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?

推荐答案

spipyeah写道:
spipyeah wrote:
是否有可用于的C ++源文件集合通过使用非常极端的语言案例来测试编译器的合规性,确保标准库是否完整以及其他类似的东西?
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?




如果你想要要了解一个特定的编译器然后我想在Boost你可以

找到很多。


-

Attila aka WW



If you want to know about a specific compiler then I think at Boost you can
find out a lot.

--
Attila aka WW


2003年9月12日01:00:53 -0700, sp *******@yahoo.com (spipyeah)写道:
On 12 Sep 2003 01:00:53 -0700, sp*******@yahoo.com (spipyeah) wrote:
是否有可用于测试的C ++源文件集合
编译符合性使用re ally极端语言案例,确保标准库完整,以及其他类似的东西?
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 (仅限图书馆)


还:
http:/ /www.cuj.com/documents/s=8027/...ter/sutter.htm


我不知道有什么免费试图检查一致性

正确。


Tom



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/...ter/sutter.htm

I''m not aware of anything free that attempts to check conformance
properly.

Tom


On Fri,2003年9月12日12:08:03 + 0300,Attila Feher

< at ********** @ lmf.ericsson.se>写道:
On Fri, 12 Sep 2003 12:08:03 +0300, "Attila Feher"
<at**********@lmf.ericsson.se> wrote:
spipyeah写道:
spipyeah wrote:
是否有一个C ++源文件的集合,可用于通过使用真正的极端语言来测试编译器的合规性案例,确保标准库是完整的,还有其他类似的东西?
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?



如果你想了解一个特定的编译器,那么我想在Boost你可以
了解了很多。



If you want to know about a specific compiler then I think at Boost you can
find out a lot.




问题是,boost大量使用变通方法来使非bold代码适用于非标准编译器。通过提升的百分比
回归测试更多地表明了对于该编译器的移植提升所带来的工作量。


该编译器的一致性。


例如g ++和Metroworks得分都更好比Comeau C ++。


Tom



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


这篇关于C ++示例源代码,用于测试编译器的合规性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆