summaryrefslogtreecommitdiff
path: root/web/c_cpp/c2cweb/compiler.w
blob: e03320c0f28525a7ef0535c8794ea717aea3de8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@q this file is part of the c2cweb package Version 1.5 @>

@q this is the file compiler.w @>
@q written by Werner Lemberg (a7971428@@unet.univie.ac.at) 10-Nov-1996 @>


@q the format definitions below are just examples and not complete! @>

@q definition strings @>

% A4 paper format

\fullpageheight=240mm
\pageheight=223mm
\pagewidth=158mm
\setpage

\def\botofcontents{
  \vfill
  \centerline{This document was produced with the \.{c2cweb}
              program by Werner Lemberg}}

\input c2cweb.ger       @q uncomment this if not needed @>

\def\xWindows{\.{\_Windows}}
\def\xxcplusplus{\.{\_\_cplusplus}}


@s error x      @q if you use C++ 3.0, you must delete this line @>
@s line  x      @q if you want to use the #line preprocessor command, delete this line @>


@q most of the DOS C and C++ compilers need that stuff @>

@s _cdecl const 
@s cdecl const
@s _cs const
@s _ds const
@s _es const
@s _export const
@s _far const
@s far const
@s huge const
@s interrupt const
@s _loadds const
@s _near const
@s near const
@s _pascal const
@s pascal const
@s _saveregs const
@s _seg const
@s _ss const

@s _Windows TeX
@s __cplusplus TeX


@q some GNU C directives @>

@s asm const
@s inline const
@s const const
@s __asm__ const
@s __inline__ const
@s __const__ const
@s __label__ int
@s __attribute__ int
@s __alignof__ sizeof


@q end of compiler.w @>