[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

warnings

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2001-01-24 21:15:56 CET

So suppose libsvn_wc is working, deep down in a bunch of call frames,
and it's trying to do 5 things. However, it wants to emit a warning
about the 2nd action, and then move on to the 3rd, 4th, and 5th
actions.

Right now, we have no way to do this. If I throw a "non-fatal"
svn_error_t, the top-most recipient can choose not to quit. But big
deal; I've lost my call stack!

It would be great to register some kind of "warning" function with
libraries; this function would need to be available at all call-stack
levels, of course. Perhaps one way to do it is to sneak it into the
global error pool somehow?

Thoughts?
Received on Sat Oct 21 14:36:19 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.