Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

More descriptive error messages from Inline.

11 views
Skip to first unread message

David Oswald

unread,
Nov 3, 2012, 8:51:04 PM11/3/12
to inline
I was doing some maintenance work on the meta-stuffs for
Math::Prime::FastSieve the other day. (Inline::CPP is one of its
dependencies, and indirectly Inline and Inline::C). Along the way I made
a couple of minor mistakes that generated errors from Inline. I think at
one point it was that my _Inline folder was stale as related to the bump in
Math::Prime::FastSieve version number, and the second was that I changed
the version number only in one place in M::P::FS, and got a message
reminding me it needed to be changed in two places in modules that are
based on Inline::*.

It was quick enough tracking down the source of the trouble. But I noticed
that the error messages weren't telling me who was generating them. It
might have been more convenient if the Inline messages started out like
this: "Inline error: .....message here....".

Perhaps we should be looking at our Inline and Inline::Language modules to
see that we're providing messages that identify who generated the error
message.

Dave

--

David Oswald
daos...@gmail.com

David Mertens

unread,
Nov 6, 2012, 10:09:10 AM11/6/12
to David Oswald, inline
It is a rare module that gives *too much* diagnostic output, and I doubt
that Inline is one of them. I endorse the idea, though I don't have any
tuits to help with the effort. My use of Inline is uncommon enough that I
don't encounter this pain point.

David
0 new messages