Re: avoiding forward declarations in stencil.hh

2012-01-30 Thread David Kastrup
David Kastrup writes: > "m...@apollinemike.com" writes: > >> On Jan 30, 2012, at 2:49 PM, David Kastrup wrote: >> >>> logical impossibility >> >> This is all I needed to know - thanks! > > Well, it forces > sizeof(x) <= 2*sizeof(x) sizeof(x) >= 2*sizeof(x) of course. > and we know sizeof(x)>=

Re: avoiding forward declarations in stencil.hh

2012-01-30 Thread David Kastrup
"m...@apollinemike.com" writes: > On Jan 30, 2012, at 2:49 PM, David Kastrup wrote: > >> logical impossibility > > This is all I needed to know - thanks! Well, it forces sizeof(x) <= 2*sizeof(x) and we know sizeof(x)>= 0, so it is not logically impossible as long as the structure does not contai

Re: avoiding forward declarations in stencil.hh

2012-01-30 Thread m...@apollinemike.com
On Jan 30, 2012, at 2:49 PM, David Kastrup wrote: > logical impossibility This is all I needed to know - thanks! Cheers, MS ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: avoiding forward declarations in stencil.hh

2012-01-30 Thread David Kastrup
Graham Percival writes: > On Mon, Jan 30, 2012 at 12:56:50PM +0100, m...@apollinemike.com wrote: >> The problem is that the file in question is stencil.hh. >> I got around it by using Drul_array and having the drul >> arrayed populated with smobified stencils. > > I hope that my > 6e2e1d6a13aba88

Re: avoiding forward declarations in stencil.hh

2012-01-30 Thread Graham Percival
On Mon, Jan 30, 2012 at 12:56:50PM +0100, m...@apollinemike.com wrote: > The problem is that the file in question is stencil.hh. > I got around it by using Drul_array and having the drul > arrayed populated with smobified stencils. I hope that my 6e2e1d6a13aba88a3a8eecc0d46f96ad245c152a didn't mes

Re: avoiding forward declarations in stencil.hh

2012-01-30 Thread m...@apollinemike.com
On Jan 30, 2012, at 12:39 PM, Han-Wen Nienhuys wrote: > On Mon, Jan 30, 2012 at 6:54 AM, m...@apollinemike.com > wrote: >> Hey all, >> >> I'm doing some work on the stencil class and I have a programming question. >> >> I'm experimenting with the following code: >> >> class Stencil >> { >> Bo

Re: avoiding forward declarations in stencil.hh

2012-01-30 Thread Han-Wen Nienhuys
On Mon, Jan 30, 2012 at 6:54 AM, m...@apollinemike.com wrote: > Hey all, > > I'm doing some work on the stencil class and I have a programming question. > > I'm experimenting with the following code: > > class Stencil > { >  Box dim_; >  SCM expr_; >  Drul_array children_; > ../flower/include/dru

avoiding forward declarations in stencil.hh

2012-01-30 Thread m...@apollinemike.com
Hey all, I'm doing some work on the stencil class and I have a programming question. I'm experimenting with the following code: class Stencil { Box dim_; SCM expr_; Drul_array children_; etc... } and g++ gives me: rm -f ./out/articulations.dep; DEPENDENCIES_OUTPUT="./out/articulations