_GLIBCXX_ASSERT lossage

Paolo Carlini pcarlini@suse.de
Fri Feb 6 12:18:00 GMT 2004


Pétur Runólfsson wrote:

> Hi,
>
> Recently a few testcases (for example
> testsuite/22_locale/collate/compare/wchar_t/2.cc) were modified so they
> contain the line
>
> // { dg-options "-finput-charset=iso-8859-1" }
>
> However, some of these testcases also use the VERIFY macro. The last
> time I checked, VERIFY doesn't really do anything unless _GLIBCXX_ASSERT
> is defined and _GLIBCXX_ASSERT is defined is defined by default for all
> tests - except for those that happen to use dg-options.

... but, AFAICT, *all* the testcases are built passing explicitly
-D_GLIBCXX_ASSERT on the command line...

Does this answer your concerns?

Paolo.



More information about the Libstdc++ mailing list