Diffstat (limited to 'htdocs/exceptions/compile.chtml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | htdocs/exceptions/compile.chtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/exceptions/compile.chtml b/htdocs/exceptions/compile.chtml index 90ee7d8..aa4c8df 100644 --- a/htdocs/exceptions/compile.chtml +++ b/htdocs/exceptions/compile.chtml | |||
@@ -1,50 +1,50 @@ | |||
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 | </%constructor> | 5 | </%constructor> |
6 | <%codemethod string title() %> | 6 | <%codemethod string title() %> |
7 | return "compile-time exceptions handling"; | 7 | return "compile-time exceptions handling"; |
8 | </%codemethod> | 8 | </%codemethod> |
9 | <%method void content() %> | 9 | <%method void content() %> |
10 | <h1>site-C-ing compile-time exception handling</h1> | 10 | <h1>site-C-ing compile-time exception handling</h1> |
11 | <p> | 11 | <p> |
12 | Similar to <a href="/exceptions/preprocess">preprocessing exceptions</a> | 12 | 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 | 13 | 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. | 14 | through preprocessor and will be caught later at the compile-time. |
15 | </p> | 15 | </p> |
16 | <p> | 16 | <p> |
17 | Once you complete writing your <a | 17 | Once you complete writing your <a |
18 | href="/view/htdocs/exceptions/development/compile.chtml" target="insert" | 18 | href="/view/htdocs/exceptions/development/compile.chtml" target="insert" |
19 | title="the link opens in the frame below">erroneous code</a> and | 19 | 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 | 20 | <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 | 21 | 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" | 22 | is where <a href="/view/htdocs/handlers/exception_dev" target="insert" |
23 | title="the link opens in the frame below">the exception handler</a>, | 23 | title="the link opens in the frame below">the exception handler</a>, |
24 | specified in <a href="/view/htdocs/exceptions/development/.scrc" | 24 | specified in <a href="/view/htdocs/exceptions/development/.scrc" |
25 | target="insert" title="the link opens in the frame below">the configuration | 25 | target="insert" title="the link opens in the frame below">the configuration |
26 | file</a>, takes over the process and gives you <a | 26 | file</a>, takes over the process and gives you <a |
27 | href="/exceptions/development/compile" target="insert" title="the link opens | 27 | 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 | 28 | in the frame below">the report</a>. Like with any handler, you may wish to |
29 | set some <a href="/view/htdocs/handlers/exception_prod" target="insert" | 29 | set some <a href="/view/htdocs/handlers/exception_prod" target="insert" |
30 | title="the link opens in the frame below">different handler</a> in your <a | 30 | title="the link opens in the frame below">different handler</a> in your <a |
31 | href="/view/htdocs/exceptions/production/.scrc" target="insert" title="the | 31 | href="/view/htdocs/exceptions/production/.scrc" target="insert" title="the |
32 | link opens in the frame below">production configuration</a>, which just gives | 32 | link opens in the frame below">production configuration</a>, which just gives |
33 | user <a href="/exceptions/production/preprocess" target="insert" title="the | 33 | user <a href="/exceptions/production/preprocess" target="insert" title="the |
34 | link opens in the frame below">a friendly yet lame excuse</a>. | 34 | link opens in the frame below">a friendly yet lame excuse</a>. |
35 | </p> | 35 | </p> |
36 | <p class="note"> | 36 | <p class="note"> |
37 | Note, that these output pages are fakes -- I do not want to spawn the | 37 | Note, that these output pages are fakes -- I do not want to spawn the |
38 | compiler each time you want to see the output and put this unnecessary load | 38 | compiler each time you want to see the output and put this unnecessary load |
39 | on cpu. These static pages are in fact saved output of the real exception | 39 | on cpu. These static pages are in fact saved output of the real exception |
40 | handlers. | 40 | handlers. |
41 | </p> | 41 | </p> |
42 | 42 | ||
43 | <div class="insert"> | 43 | <div class="insert"> |
44 | <iframe id="insert" name="insert" src="about:blank" width="95%" height="300" border="1"> | 44 | <iframe id="insert" name="insert" src="about:blank" width="95%" height="300"> |
45 | <p>I wanted to put an <iframe> here, but your browser does not seem to | 45 | <p>I wanted to put an <iframe> here, but your browser does not seem to |
46 | support it. That is okay, it still will open links somehow.</p> | 46 | support it. That is okay, it still will open links somehow.</p> |
47 | </iframe> | 47 | </iframe> |
48 | </div> | 48 | </div> |
49 | 49 | ||
50 | </%method> | 50 | </%method> |