Re: useless definition of _SV_RULER_CXX ?

2013-02-15 Thread Eike Rathke
Hi Miklos, On Friday, 2013-02-15 11:05:37 +0100, Miklos Vajna wrote: > On Thu, Feb 14, 2013 at 02:43:16PM +, Caolán McNamara > wrote: > > My best theory is that it was intended to speed up builds by having less > > "stuff" in the headers for compilers to parse by having the preprocessor > >

Re: useless definition of _SV_RULER_CXX ?

2013-02-15 Thread Miklos Vajna
On Thu, Feb 14, 2013 at 02:43:16PM +, Caolán McNamara wrote: > My best theory is that it was intended to speed up builds by having less > "stuff" in the headers for compilers to parse by having the preprocessor > strip out the stuff includers didn't need to see. Which would suggest > that it

Re: useless definition of _SV_RULER_CXX ?

2013-02-14 Thread Caolán McNamara
On Wed, 2013-02-13 at 12:16 -0200, Rodolfo wrote: > While working on a patch, I saw this #define inside a .cxx file... [1] > > Some (private) methods of class Ruler are declared inside an #ifdef of > it [2]. But that can be only triggered inside ruler.cxx file [1] : a > trick by defining _SV_RULER

useless definition of _SV_RULER_CXX ?

2013-02-13 Thread Rodolfo
While working on a patch, I saw this #define inside a .cxx file... [1] Some (private) methods of class Ruler are declared inside an #ifdef of it [2]. But that can be only triggered inside ruler.cxx file [1] : a trick by defining _SV_RULER_CXX right before including the header file. Is it really n