harmless warning in examples

5 views
Skip to first unread message

David Bremner

unread,
Aug 4, 2009, 9:13:00 PM8/4/09
to sketch...@googlegroups.com

During the build process for 0.2.159 (and previous ones I suppose),
there are several messages like

../sketch -D ex240 manexamples.sk >
ex240.tex truncatedcone.sk(4) : warning, vector 'I' is never
referenced truncatedcone.sk(7) : warning, vector 'K' is never
referenced truncatedcone.sk(4) : warning, vector 'I' is never
referenced truncatedcone.sk(7) : warning, vector 'K' is never
referenced summary: 4 warning

I agree this causes little harm, but it might confuse someone someday.
If you get a chance would you mind deleting those declarations?

All the best,

David

Gene

unread,
Aug 5, 2009, 11:05:21 PM8/5/09
to Sketch Users
Thanks David. This results from using one general purpose include
file for many different examples. I'll look at changing the defaults
to turn off this warning for include files only.


Gene

Gene

unread,
Aug 9, 2009, 4:29:39 PM8/9/09
to Sketch Users
On Aug 5, 11:05 pm, Gene <gene.ress...@gmail.com> wrote:
> On Aug 4, 9:13 pm, David Bremner <brem...@unb.ca> wrote:
>
> > During the build process for 0.2.159 (and previous ones I suppose),
> > there are several messages like
>
> >     ../sketch -D ex240 manexamples.sk >
> >     ex240.tex truncatedcone.sk(4) : warning, vector 'I' is never
> >     referenced truncatedcone.sk(7) : warning, vector 'K' is never
> >     referenced truncatedcone.sk(4) : warning, vector 'I' is never
> >     referenced truncatedcone.sk(7) : warning, vector 'K' is never
> >     referenced summary: 4 warning
>
> > I agree this causes little harm, but it might confuse someone someday.
> > If you get a chance would you mind deleting those declarations?
>
> Thanks David.  This results from using one general purpose include
> file for many different examples.  I'll look at changing the defaults
> to turn off this warning for include files only.

Okay, build 160 has this change: warnings about unreferenced symbols
are not issued for include (input directive) files.

Take care,
Gene
Reply all
Reply to author
Forward
0 new messages