Skip to content

Commit 17e9f1c

Browse files
committed
Update erl compile flags
Set no warning flags for missing doc and specs. Update the documentation build instruction
1 parent a730c16 commit 17e9f1c

File tree

22 files changed

+45
-22
lines changed

22 files changed

+45
-22
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ use the same installation directory as configured in the OTP source tree.
8282

8383
### The documentation build
8484

85-
The documentation is built with the following commands.
85+
The documentation for Corba is not converted to the new format
86+
introduced in OTP 27. So OTP 26 is needed for building the documentation
87+
and it is built with the following commands.
8688

8789
```
8890
cd corba

lib/cosEvent/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1997-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1997-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -152,6 +152,7 @@ ERL_COMPILE_FLAGS += \
152152
$(ERL_IDL_FLAGS) \
153153
-I$(CORBA_TOP)/lib/orber/include \
154154
-I$(CORBA_TOP)/lib/cosEvent/include \
155+
+nowarn_missing_doc +nowarn_missing_spec_documented \
155156
+'{parse_transform,sys_pre_attributes}' \
156157
+'{attribute,insert,app_vsn,"cosEvent_$(VSN)"}'
157158

lib/cosEvent/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1999-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1999-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -101,6 +101,7 @@ ERL_IDL_FLAGS += -pa $(CORBA_TOP)/lib/orber/ebin -pa $(CORBA_TOP)/lib/ic/ebin
101101
ERL_COMPILE_FLAGS += $(ERL_IDL_FLAGS) \
102102
-pa $(CORBA_TOP)/lib/cosEvent/ebin \
103103
-pa $(CORBA_TOP)/lib/cosEvent/test/idl_output \
104+
+nowarn_missing_doc +nowarn_missing_spec_documented \
104105
-I$(CORBA_TOP)/lib/cosEvent \
105106
-I$(CORBA_TOP)/lib/cosEvent/test/$(IDLOUTDIR)
106107

lib/cosEventDomain/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2001-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2001-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -125,6 +125,7 @@ ERL_COMPILE_FLAGS += \
125125
-I$(CORBA_TOP)/lib/cosNotification/src \
126126
-I$(CORBA_TOP)/lib/cosEvent/src \
127127
-I$(CORBA_TOP)/lib/cosEvent/include \
128+
+nowarn_missing_doc +nowarn_missing_spec_documented \
128129
+'{parse_transform,sys_pre_attributes}' \
129130
+'{attribute,insert,app_vsn,"cosEventDomain_$(VSN)"}'
130131

lib/cosEventDomain/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2001-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2001-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -68,6 +68,7 @@ ERL_COMPILE_FLAGS += \
6868
-pa $(CORBA_TOP)/lib/cosEventDomain/include \
6969
-pa $(CORBA_TOP)/lib/cosNotification/ebin \
7070
-pa $(CORBA_TOP)/lib/cosNotification/include \
71+
+nowarn_missing_doc +nowarn_missing_spec_documented \
7172
-I$(CORBA_TOP)/lib/cosEventDomain/include \
7273
-I$(CORBA_TOP)/lib/cosNotification/include \
7374
-I$(CORBA_TOP)/lib/cosNotification/ebin

lib/cosFileTransfer/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2000-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2000-2027. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -133,6 +133,7 @@ ERL_COMPILE_FLAGS += \
133133
-I$(CORBA_TOP)/lib/cosFileTransfer/include \
134134
-I$(CORBA_TOP)/lib/cosProperty/include \
135135
-I$(CORBA_TOP)/lib/cosProperty/src \
136+
+nowarn_missing_doc +nowarn_missing_spec_documented \
136137
+'{parse_transform,sys_pre_attributes}' \
137138
+'{attribute,insert,app_vsn,"cosFileTransfer_$(VSN)"}'
138139

lib/cosFileTransfer/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2000-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2000-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -91,6 +91,7 @@ ERL_COMPILE_FLAGS += \
9191
-pa $(CORBA_TOP)/lib/cosFileTransfer/ebin \
9292
-pa $(CORBA_TOP)/lib/cosFileTransfer/include \
9393
-pa $(CORBA_TOP)/lib/cosFileTransfer/test/idl_output \
94+
+nowarn_missing_doc +nowarn_missing_spec_documented \
9495
-I$(CORBA_TOP)/lib/orber/include \
9596
-I$(CORBA_TOP)/lib/cosProperty/include \
9697
-I$(CORBA_TOP)/lib/cosFileTransfer/src \

lib/cosNotification/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1999-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1999-2027. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -313,6 +313,7 @@ ERL_COMPILE_FLAGS += \
313313
-I$(CORBA_TOP)/lib/cosNotification/include \
314314
-I$(CORBA_TOP)/lib/cosEvent/include \
315315
-I$(CORBA_TOP)/lib/cosTime/include \
316+
+nowarn_missing_doc +nowarn_missing_spec_documented \
316317
+'{parse_transform,sys_pre_attributes}' \
317318
+'{attribute,insert,app_vsn,"cosNotification_$(VSN)"}'
318319

lib/cosNotification/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1999-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1999-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -138,6 +138,7 @@ ERL_COMPILE_FLAGS += \
138138
-pa $(CORBA_TOP)/lib/cosTime/include \
139139
-pa $(CORBA_TOP)/lib/cosNotification/include \
140140
-pa $(CORBA_TOP)/lib/ic/ebin \
141+
+nowarn_missing_doc +nowarn_missing_spec_documented \
141142
-I$(CORBA_TOP)/lib/cosTime/ebin \
142143
-I$(CORBA_TOP)/lib/cosTime/include \
143144
-I$(CORBA_TOP)/lib/orber/include \

lib/cosProperty/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2000-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2000-2027. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -133,6 +133,7 @@ ERL_COMPILE_FLAGS += \
133133
-pa $(CORBA_TOP)/lib/cosProperty/include \
134134
-I$(CORBA_TOP)/lib/cosProperty/include \
135135
-I$(CORBA_TOP)/lib/orber/include \
136+
+nowarn_missing_doc +nowarn_missing_spec_documented \
136137
+'{parse_transform,sys_pre_attributes}' \
137138
+'{attribute,insert,app_vsn,"cosProperty_$(VSN)"}'
138139

lib/cosProperty/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2000-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2000-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -87,6 +87,7 @@ ERL_COMPILE_FLAGS += \
8787
-pa $(CORBA_TOP)/lib/orber/include \
8888
-pa $(CORBA_TOP)/lib/cosProperty/ebin \
8989
-pa $(CORBA_TOP)/lib/cosProperty/test/idl_output \
90+
+nowarn_missing_doc +nowarn_missing_spec_documented \
9091
-I$(CORBA_TOP)/lib/orber/include \
9192
-I$(CORBA_TOP)/lib/cosProperty/src \
9293
-I$(CORBA_TOP)/lib/cosProperty \

lib/cosTime/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2000-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2000-2027. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -148,6 +148,7 @@ ERL_COMPILE_FLAGS += \
148148
-pa $(CORBA_TOP)/lib/cosTime/include \
149149
-I$(CORBA_TOP)/lib/cosTime/include \
150150
-I$(CORBA_TOP)/lib/orber/include \
151+
+nowarn_missing_doc +nowarn_missing_spec_documented \
151152
+'{parse_transform,sys_pre_attributes}' \
152153
+'{attribute,insert,app_vsn,"cosTime_$(VSN)"}'
153154

lib/cosTime/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 2000-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 2000-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -91,6 +91,7 @@ ERL_COMPILE_FLAGS += \
9191
-pa $(CORBA_TOP)/lib/cosTime/ebin \
9292
-pa $(CORBA_TOP)/lib/cosTime/include \
9393
-pa $(CORBA_TOP)/lib/cosTime/test/idl_output \
94+
+nowarn_missing_doc +nowarn_missing_spec_documented \
9495
-I$(CORBA_TOP)/lib/orber/include \
9596
-I$(CORBA_TOP)/lib/cosNotification/include \
9697
-I$(CORBA_TOP)/lib/cosTime/src \

lib/cosTransactions/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1999-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1999-2027. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -131,6 +131,7 @@ ERL_COMPILE_FLAGS += \
131131
$(ERL_IDL_FLAGS) \
132132
-I$(CORBA_TOP)/lib/cosTransactions/include \
133133
-I$(CORBA_TOP)/lib/orber/include \
134+
+nowarn_missing_doc +nowarn_missing_spec_documented \
134135
+'{parse_transform,sys_pre_attributes}' \
135136
+'{attribute,insert,app_vsn,"cosTransactions_$(VSN)"}'
136137

lib/cosTransactions/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1999-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1999-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -98,6 +98,7 @@ ERL_COMPILE_FLAGS += \
9898
-pa $(CORBA_TOP)/lib/orber/include \
9999
-pa $(CORBA_TOP)/lib/cosTransactions/ebin \
100100
-pa $(CORBA_TOP)/lib/cosTransactions/test/idl_output \
101+
+nowarn_missing_doc +nowarn_missing_spec_documented \
101102
-I$(CORBA_TOP)/lib/orber/include \
102103
-I$(CORBA_TOP)/lib/cosTransactions \
103104
-I$(CORBA_TOP)/lib/cosTransactions/test/$(IDLOUTDIR)

lib/ic/examples/pre_post_condition/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1999-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1999-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -92,6 +92,7 @@ TARGET_FILES = \
9292
ERL_LOCAL_FLAGS += -pa $(CORBA_TOP)/lib/orber/ebin -pa $(CORBA_TOP)/lib/ic/ebin
9393
ERL_COMPILE_FLAGS += \
9494
$(ERL_LOCAL_FLAGS) \
95+
+nowarn_missing_doc +nowarn_missing_spec_documented \
9596
-pa $(CORBA_TOP)/lib/orber -I$(CORBA_TOP)/lib/orber
9697
YRL_FLAGS =
9798

lib/ic/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1998-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1998-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -159,6 +159,7 @@ ERL_LOCAL_FLAGS += -pa $(CORBA_TOP)/lib/ic/ebin
159159
# includes from other directories than ../include .
160160
ERL_COMPILE_FLAGS += \
161161
$(ERL_LOCAL_FLAGS) \
162+
+nowarn_missing_doc +nowarn_missing_spec_documented \
162163
+'{parse_transform,sys_pre_attributes}' \
163164
+'{attribute,insert,app_vsn,"ic_$(CORBA_VSN)"}' \
164165
-D'COMPILERVSN="$(CORBA_VSN)"'

lib/ic/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1998-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1998-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -236,6 +236,7 @@ ERL_LOCAL_FLAGS += -pa $(CORBA_TOP)/lib/orber/ebin -pa $(CORBA_TOP)/lib/ic/ebin
236236

237237
ERL_COMPILE_FLAGS += \
238238
$(ERL_LOCAL_FLAGS) \
239+
+nowarn_missing_doc +nowarn_missing_spec_documented \
239240
-I$(CORBA_TOP)/lib/orber/include
240241

241242
# ----------------------------------------------------

lib/orber/COSS/CosNaming/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1997-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1997-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -101,6 +101,7 @@ ERL_IDL_FLAGS += -pa $(CORBA_TOP)/lib/orber/ebin -pa $(CORBA_TOP)/lib/ic/ebin
101101
ERL_COMPILE_FLAGS += \
102102
$(ERL_IDL_FLAGS) \
103103
-I../include \
104+
+nowarn_missing_doc +nowarn_missing_spec_documented \
104105
+'{parse_transform,sys_pre_attributes}' \
105106
+'{attribute,insert,app_vsn,"orber_$(CORBA_VSN)"}'
106107

lib/orber/examples/Stack/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1997-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1997-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -91,6 +91,7 @@ ERL_IDL_FLAGS += -pa $(CORBA_TOP)/lib/orber/ebin -pa $(CORBA_TOP)/lib/ic/ebin
9191
# includes from other directories than ../include .
9292
ERL_COMPILE_FLAGS += \
9393
$(ERL_IDL_FLAGS) \
94+
+nowarn_missing_doc +nowarn_missing_spec_documented \
9495
-pa $(CORBA_TOP)/lib/orber -I$(CORBA_TOP)/lib/orber
9596

9697
# ----------------------------------------------------

lib/orber/src/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1997-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1997-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -193,6 +193,7 @@ APP_TARGET = $(EBIN)/$(APP_FILE)
193193
ERL_IDL_FLAGS += -pa $(CORBA_TOP)/lib/orber/ebin -pa $(CORBA_TOP)/lib/ic/ebin
194194
ERL_COMPILE_FLAGS += $(ERL_IDL_FLAGS) \
195195
-I../include \
196+
+nowarn_missing_doc +nowarn_missing_spec_documented \
196197
+'{parse_transform,sys_pre_attributes}' \
197198
+'{attribute,insert,app_vsn,"orber_$(CORBA_VSN)"}'
198199

lib/orber/test/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# %CopyrightBegin%
33
#
4-
# Copyright Ericsson AB 1997-2016. All Rights Reserved.
4+
# Copyright Ericsson AB 1997-2024. All Rights Reserved.
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -167,6 +167,7 @@ ERL_IDL_FLAGS += -pa $(CORBA_TOP)/lib/orber/ebin -pa $(CORBA_TOP)/lib/ic/ebin
167167
ERL_COMPILE_FLAGS += $(ERL_IDL_FLAGS) \
168168
-pa $(CORBA_TOP)/lib/ic/ebin \
169169
-pa $(CORBA_TOP)/lib/orber/ebin \
170+
+nowarn_missing_doc +nowarn_missing_spec_documented \
170171
-I$(CORBA_TOP)/lib/orber \
171172
-I$(CORBA_TOP)/lib/orber/test/$(IDLOUTDIR)
172173

0 commit comments

Comments
 (0)