Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
#ifndef OSSG_STD_INCLUDED
32
#define OSSG_STD_INCLUDED
33
 
34
 
35
/*
36
    STANDARD C HEADER
37
 
38
    These pragmas describe the extra checks to be applied to the program
39
    by the TenDRA C compiler.  They encapsulate the coding standard to
40
    be applied.
41
*/
42
 
43
#ifdef __TenDRA__
44
 
45
#pragma TenDRA begin
46
 
47
#pragma TenDRA complete struct/union analysis warning
48
#pragma TenDRA conversion analysis (int-int implicit) warning
49
#pragma TenDRA conversion analysis (int-pointer) warning
50
#pragma TenDRA conversion analysis (pointer-pointer) warning
51
#pragma TenDRA discard analysis warning
52
#pragma TenDRA implicit function declaration off
53
#pragma TenDRA incompatible interface declaration disallow
54
#pragma TenDRA incompatible void return disallow
55
#pragma TenDRA variable analysis on
56
#pragma TenDRA weak prototype analysis on
57
 
58
#pragma TenDRA linkage resolution : (internal) warning
59
#pragma TenDRA no external declaration disallow
60
#pragma TenDRA initialization of struct/union (auto) disallow
61
#pragma TenDRA text after directive disallow
62
#pragma TenDRA unknown escape disallow
63
#pragma TenDRA unknown pragma warning
64
 
65
#ifndef OLD_PRODUCER
66
#pragma TenDRA fall into case warning
67
#pragma TenDRA unreachable code warning
68
#endif
69
 
70
#undef __NO_PRINTF_CHECKS
71
 
72
#endif
73
 
74
 
75
#endif