Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!gatech!gt-eedsp!baud
From: baud@gt-eedsp.UUCP (Kurt Baudendistel)
Newsgroups: comp.lang.c++
Subject: error reporting
Keywords: c++, error
Message-ID: <337@gt-eedsp.UUCP>
Date: 13 Jul 88 16:55:48 GMT
Distribution: na
Organization: School of Electrical Engineering, Ga. Tech, Atlanta, GA  30332
Lines: 19

in an implementation of a numeric class such as stroustrup's `tiny'
class, it would be nice for program development purposes to report
the line number and file name where errors such as the `tiny range
error' occur, rather than just that message.

i can get some information from the __LINE__ and __FILE__ macros,
but these provide information only at the preprocessor level.  to
get such error reporting, i think that i need access to this type 
of information during actual compilation.

how can i do this?

kurt

-- 
Kurt Baudendistel [GRA McClellan]
Georgia Tech, School of Electrical Engineering, Atlanta, GA  30332
USENET: ...!{allegra,hplabs,ihnp4,ulysses}!gatech!gt-eedsp!$me
INTERNET: $me@gteedsp.gatech.edu