C++ PATCH: Disallow floating-point literals in integral-constant expressions

Mike Stump mrs@apple.com
Tue Feb 1 02:38:00 GMT 2005


On Jan 31, 2005, at 6:17 PM, Marcin Dalecki wrote:
> But since you started this kind of "decision based on user polling"
> argument, I just wanted to point you at the logical flaw behind it:
> In C++ average programmers frequently use "features of the compiler"
> without intention of doing so. You can't imagine how many people out
> there just edit the code until the compiler let's it pass...

Yes, that is exactly my point.  In my world, users like to be able to 
get warnings for a release, while they fix things.  This let's them 
file codegen bugs sooner, as their projects compile sooner, it lets me 
do more testing, as I can compile their projects, instead of having 
those project fail to build...



More information about the Libstdc++ mailing list