summaryrefslogtreecommitdiffabout
path: root/htdocs/exceptions/compile.chtml
Unidiff
Diffstat (limited to 'htdocs/exceptions/compile.chtml') (more/less context) (show whitespace changes)
-rw-r--r--htdocs/exceptions/compile.chtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/htdocs/exceptions/compile.chtml b/htdocs/exceptions/compile.chtml
index aa4c8df..68dd034 100644
--- a/htdocs/exceptions/compile.chtml
+++ b/htdocs/exceptions/compile.chtml
@@ -1,28 +1,30 @@
1% html(); return; /* vim:set ft=sitecing: */ 1% html(); return; /* vim:set ft=sitecing: */
2%%derive layout = "/ancestry/layout.chtml"; 2%%derive layout = "/ancestry/layout.chtml";
3<%constructor> 3<%constructor>
4 b_strict = false; 4 b_strict = false;
5 PN_PREV("/exceptions/preprocess","preprocess","preprocessing errors");
6 PN_NEXT("/exceptions/runtime","runtime","runtime exceptions");
5</%constructor> 7</%constructor>
6<%codemethod string title() %> 8<%codemethod string title() %>
7 return "compile-time exceptions handling"; 9 return "compile-time exceptions handling";
8</%codemethod> 10</%codemethod>
9<%method void content() %> 11<%method void content() %>
10 <h1>site-C-ing compile-time exception handling</h1> 12 <h1>site-C-ing compile-time exception handling</h1>
11 <p> 13 <p>
12 Similar to <a href="/exceptions/preprocess">preprocessing exceptions</a> 14 Similar to <a href="/exceptions/preprocess">preprocessing exceptions</a>
13 there is a wide range of errors you may put into your code which will pass 15 there is a wide range of errors you may put into your code which will pass
14 through preprocessor and will be caught later at the compile-time. 16 through preprocessor and will be caught later at the compile-time.
15 </p> 17 </p>
16 <p> 18 <p>
17 Once you complete writing your <a 19 Once you complete writing your <a
18 href="/view/htdocs/exceptions/development/compile.chtml" target="insert" 20 href="/view/htdocs/exceptions/development/compile.chtml" target="insert"
19 title="the link opens in the frame below">erroneous code</a> and 21 title="the link opens in the frame below">erroneous code</a> and
20 <em>site-C-ing</em> is done preprocessing it, it will feed the preprocessed 22 <em>site-C-ing</em> is done preprocessing it, it will feed the preprocessed
21 code into c++ compiler which will refuse to compile the code like this. This 23 code into c++ compiler which will refuse to compile the code like this. This
22 is where <a href="/view/htdocs/handlers/exception_dev" target="insert" 24 is where <a href="/view/htdocs/handlers/exception_dev" target="insert"
23 title="the link opens in the frame below">the exception handler</a>, 25 title="the link opens in the frame below">the exception handler</a>,
24 specified in <a href="/view/htdocs/exceptions/development/.scrc" 26 specified in <a href="/view/htdocs/exceptions/development/.scrc"
25 target="insert" title="the link opens in the frame below">the configuration 27 target="insert" title="the link opens in the frame below">the configuration
26 file</a>, takes over the process and gives you <a 28 file</a>, takes over the process and gives you <a
27 href="/exceptions/development/compile" target="insert" title="the link opens 29 href="/exceptions/development/compile" target="insert" title="the link opens
28 in the frame below">the report</a>. Like with any handler, you may wish to 30 in the frame below">the report</a>. Like with any handler, you may wish to