Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-05-31 12:05:57

Hi David,

To get the location of the error, the compiler needs to print out the
"error stack", that is, not just the line of where the error was caught
but it needs to print out the names/locations of the functions in the call
stack that lead to the error. Often times, even when compilers print out
the call stack, the real "location" still doesn't show up because the
printing gets cut-off at a certain depth. The BCCL helps this by reducing
the depth. However, in a compiler that does not print *any* stack, then
BCCL doesn't help in trying to get the location. I forget, but I think
VC++ doesn't print out any stack.


On Thu, 31 May 2001, David Taylor wrote:
davidt> Hi
davidt> I read about this idea with interest due to the confusing errors one gets
davidt> with templates.
davidt> I tried using it under Window NT 4 using the Microsoft C++ compiler.
davidt> One of the important aspects given in the motivating
davidt> example was that the location of the error was actually
davidt> given in the list of error messages.
davidt> Try as I might I have not been able to get this to happen with my own
davidt> template errors.
davidt> Which of the following is true?
davidt> * Microsoft C++ compiler doesn't do this.
davidt> * To get it to work you need to set some defines or compiler options.
davidt> (If this then which?)
davidt> * It should work and there must be some other problem
davidt> Regards
davidt> David Taylor
davidt> *************************************************************
davidt> David Taylor Email : DavidTaylor_at_[hidden]
davidt> Software Engineer
davidt> Ringwood Software Limited Web :
davidt> Ringwood House
davidt> Walton Street Tel : (01296) 432011 x244
davidt> Aylesbury
davidt> Bucks HP21 7QP Fax : (01296) 489776
davidt> *************************************************************
davidt> The information in this message is confidential and may be legally
davidt> privileged. It is intended solely for the addressee. Access to
davidt> this
davidt> message by anyone else is unauthorised. If you are not the intended
davidt> recipient, any disclosure, copying, distribution or any action taken
davidt> or
davidt> omitted to be taken in reliance on it, is prohibited and may be
davidt> unlawful.
davidt> Any attachments to this message have been checked for viruses, but
davidt> you should rely on your own virus checker and procedures.
davidt> If you contact us by e-mail, we will store your name and address to
davidt> facilitate communications.
davidt> To unsubscribe, send email to: <mailto:boost-unsubscribe_at_[hidden]>
davidt> Your use of Yahoo! Groups is subject to

 Jeremy Siek www:
 Ph.D. Candidate, IU B'ton email: jsiek_at_[hidden]
 Summer Manager, AT&T Research phone: (973) 360-8185

Boost list run by bdawes at, gregod at, cpdaniel at, john at