The way to do this is described in the wiki:
http://quantlib.referata.com/wiki/QL_REQUIREHope this helps.
P Nelnik schrieb:
> Hello all,
>
> What do I need to do to get QL_FAIL(..) and QL_REQUIRE(..) to report
> the file and line-number when they throw?
> I see from their definitions that the can sometimes report them.
>
> Is it ever possible to get the call stack reported as well?
>
> Thanks
> Philip
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
>
http://p.sf.net/sfu/thinkgeek-promo> ------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-users>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users