Skip to content
Newer
Older
100644 67 lines (42 sloc) 1.79 KB
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
1 (*
2 Copyright © 2011 MLstate
3
4 This file is part of OPA.
5
6 OPA is free software: you can redistribute it and/or modify it under the
7 terms of the GNU Affero General Public License, version 3, as published by
8 the Free Software Foundation.
9
10 OPA is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
13 more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with OPA. If not, see <http://www.gnu.org/licenses/>.
17 *)
18 (* CF mli *)
19
20 let warning_set =
21 let s = WarningClass.Set.create () in
22 let (!+) w = WarningClass.Set.add s w in
23 let (?+) w = if BuildInfos.is_release then () else !+ w in
24 let (!++) s' = WarningClass.Set.add_set s s' in
25 (* let (?++) s' = if BuildInfos.is_release then () else !++ s' in *)
26 (* combine there all loaded warning_set you want to be available in opa S3 *)
27 (* for organisation layout, please use alphabetic order *)
28
29 (* CONDITIONS *)
30
31 ?+ WarningClass.cond ;
32
33 (* PASSES (alphabetic order) *)
34
35 !++ ObjectFiles.warning_set ;
36
37 (* !++ Pass_BslLoading.warning_set ; *)
38
39 !++ QmlDbGen.warning_set ;
40
41 !++ Imp_Compiler.warning_set ;
42
43 !++ QmlSimpleSlicer.warning_set ;
44
45 !++ QmlTyperWarnings.warning_set ;
46
47 !++ SurfaceAstRenaming.warning_set ;
48
4692879 @OpaOnWindowsNow [feature] Internationalisation: add @i18n directive and start support…
OpaOnWindowsNow authored Sep 8, 2011
49 !++ I18nAndComputedString.warning_set ;
50
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
51 !++ Flat_Compiler.warning_set ;
52
53 !++ Pass_CheckPatternMatching.warning_set ;
54
55 !++ Pass_CodingDirectives.warning_set ;
56
57 !++ Pass_MacroExpansion.warning_set ;
58
59 !++ SurfaceAstStaticInclude.warning_set ;
60
2536662 @OpaOnWindowsNow [feature] closure serialisation: restrict to new @public_env directive
OpaOnWindowsNow authored Sep 23, 2011
61 !++ Pass_InstrumentForClosureSerialization.warning_set;
62
f30a1b1 @BourgerieQuentin [fix] recval: Added warning set for recursive values compilation + un…
BourgerieQuentin authored Jan 9, 2012
63 !++ Pass_CompileRecursiveValues.Warning.set;
64
fccc685 Initial open-source release
MLstate authored Jun 21, 2011
65 (* finally return the global warning_set *)
66 s
Something went wrong with that request. Please try again.