stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farid Zaripov <Far...@kyiv.vdiweb.com>
Subject [PATCH] Re: testsuite process helpers
Date Wed, 18 Oct 2006 14:04:56 GMT
 > -----Original Message-----
 > From: Martin Sebor [mailto:sebor@roguewave.com]
 > Sent: Thursday, August 03, 2006 5:48 PM
 > To: stdcxx-dev@incubator.apache.org
 > Subject: Re: testsuite process helpers
 >
[...]
 > Okay, let's go with it. How about
 >
 > rw_enable(int(*)(int, int, const char*, const char*, ...),
 > bool = true);
 >
 > so that we can simply call it like so:
 >
 > rw_enable(rw_error, false);   // disable errors
 > rw_enable(rw_note);           // enable notes
 >
 > and we don't have to move diag_t into driver.h.

   The patch is attached.

   ChangeLog:
   * driver.h (rw_enable): New function to enable/disable
   specified diagnostics
   * driver.cpp (rw_enable): New function to enable/disable
   specified diagnostics
   (_rw_vdiag): Added checking whether the diagnostic
   is enabled or disabled
   * opt_trace.h: Added declaration of the _rw_ignore_mask variable
   * opt_trace.cpp: Added definition of the _rw_ignore_mask variable

Farid.


Mime
View raw message