[Cfp-interest] draft of syntax discussion for C committee

Fred J. Tydeman tydeman at tybor.com
Thu Jun 5 17:33:10 PDT 2014


On Thu, 5 Jun 2014 16:26:57 -0700 (PDT) David Hough CFP wrote:
>
>{
>{
>#pragma STDC FENV_CATCH exception-list 
> exceptional case code...
>}
> normal case code...
>}

Is there a need for something like:

{
{
#pragma STDC FENV_CATCH exception-list 1
 exceptional case 1 code...
}
{
#pragma STDC FENV_CATCH exception-list 2
 exceptional case 2 code...
}
 normal case code...
}

where there are different 'catch' blocks for different exceptions.


---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (775) 287-5904      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list