-
-
Save notalfredo/674974351ddf2382064e1cf9cec605ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "..." search starts here: | |
#include <...> search starts here: | |
/home/alfredo/builds/OCCT/samples/webgl | |
. | |
/home/alfredo/builds/emscripten/cache/sysroot/include | |
/usr/local/occt_static_build/include/opencascade | |
/usr/local/include/freetype2 | |
/usr/include/c++/9 | |
/usr/include/x86_64-linux-gnu/c++/9 | |
/usr/include/c++/9/backward | |
/usr/lib/gcc/x86_64-linux-gnu/9/include | |
/usr/local/include | |
/usr/include/x86_64-linux-gnu | |
/usr/include | |
End of search list. | |
GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu) | |
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP | |
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | |
Compiler executable checksum: 3d1eba838554fa2348dba760e4770469 | |
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528, | |
from /usr/include/c++/9/type_traits:38, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Std.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Integer.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/os_defines.h:44:19: error: missing binary operator before token "(" | |
44 | #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE) | |
| ^ | |
In file included from /usr/include/stdlib.h:25, | |
from /usr/include/c++/9/cstdlib:75, | |
from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:56:17: error: missing binary operator before token "(" | |
56 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X) | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:73:17: error: missing binary operator before token "(" | |
73 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X) | |
| ^ | |
In file included from /usr/include/stdlib.h:55, | |
from /usr/include/c++/9/cstdlib:75, | |
from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/bits/floatn.h:30:22: error: missing binary operator before token "(" | |
30 | ? __GNUC_PREREQ (4, 3) \ | |
| ^ | |
In file included from /usr/include/x86_64-linux-gnu/bits/floatn.h:120, | |
from /usr/include/stdlib.h:55, | |
from /usr/include/c++/9/cstdlib:75, | |
from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:69:19: error: missing binary operator before token "(" | |
69 | #if __GNUC_PREREQ (7, 0) && !defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:90:22: error: missing binary operator before token "(" | |
90 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:98:22: error: missing binary operator before token "(" | |
98 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:110:22: error: missing binary operator before token "(" | |
110 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:118:22: error: missing binary operator before token "(" | |
118 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:148:22: error: missing binary operator before token "(" | |
148 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:156:22: error: missing binary operator before token "(" | |
156 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:168:22: error: missing binary operator before token "(" | |
168 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:176:22: error: missing binary operator before token "(" | |
176 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:213:22: error: missing binary operator before token "(" | |
213 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:217:22: error: missing binary operator before token "(" | |
217 | # if !__GNUC_PREREQ (7, 0) | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:250:23: error: missing binary operator before token "(" | |
250 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:254:23: error: missing binary operator before token "(" | |
254 | # if !__GNUC_PREREQ (7, 0) | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:267:22: error: missing binary operator before token "(" | |
267 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:271:22: error: missing binary operator before token "(" | |
271 | # if !__GNUC_PREREQ (7, 0) | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:284:23: error: missing binary operator before token "(" | |
284 | # if !__GNUC_PREREQ (7, 0) || defined __cplusplus | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/floatn-common.h:288:23: error: missing binary operator before token "(" | |
288 | # if !__GNUC_PREREQ (7, 0) | |
| ^ | |
In file included from /usr/include/c++/9/cstdlib:75, | |
from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/stdlib.h:133:35: error: missing binary operator before token "(" | |
133 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:139:35: error: missing binary operator before token "(" | |
139 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:145:35: error: missing binary operator before token "(" | |
145 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:151:36: error: missing binary operator before token "(" | |
151 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:157:36: error: missing binary operator before token "(" | |
157 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:163:36: error: missing binary operator before token "(" | |
163 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:169:37: error: missing binary operator before token "(" | |
169 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:211:17: error: missing binary operator before token "(" | |
211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| ^ | |
/usr/include/stdlib.h:225:35: error: missing binary operator before token "(" | |
225 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:231:35: error: missing binary operator before token "(" | |
231 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:237:35: error: missing binary operator before token "(" | |
237 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:243:36: error: missing binary operator before token "(" | |
243 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:249:36: error: missing binary operator before token "(" | |
249 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:255:36: error: missing binary operator before token "(" | |
255 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/stdlib.h:261:37: error: missing binary operator before token "(" | |
261 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
In file included from /usr/include/math.h:27, | |
from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:56:17: error: missing binary operator before token "(" | |
56 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X) | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/libc-header-start.h:73:17: error: missing binary operator before token "(" | |
73 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X) | |
| ^ | |
In file included from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/math.h:47:19: error: missing binary operator before token "(" | |
47 | #if __GNUC_PREREQ (3, 3) | |
| ^ | |
/usr/include/math.h:66:35: error: missing binary operator before token "(" | |
66 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:69:35: error: missing binary operator before token "(" | |
69 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:72:35: error: missing binary operator before token "(" | |
72 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:75:36: error: missing binary operator before token "(" | |
75 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:78:36: error: missing binary operator before token "(" | |
78 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:81:36: error: missing binary operator before token "(" | |
81 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:84:37: error: missing binary operator before token "(" | |
84 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:107:17: error: missing binary operator before token "(" | |
107 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| ^ | |
/usr/include/math.h:115:35: error: missing binary operator before token "(" | |
115 | #if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:118:35: error: missing binary operator before token "(" | |
118 | #if __HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:121:35: error: missing binary operator before token "(" | |
121 | #if __HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:124:36: error: missing binary operator before token "(" | |
124 | #if __HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:127:36: error: missing binary operator before token "(" | |
127 | #if __HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:130:36: error: missing binary operator before token "(" | |
130 | #if __HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:133:37: error: missing binary operator before token "(" | |
133 | #if __HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
In file included from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/math.h:203:17: error: missing binary operator before token "(" | |
203 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| ^ | |
In file included from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/math.h:235:17: error: missing binary operator before token "(" | |
235 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| ^ | |
In file included from /usr/include/math.h:290, | |
from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:112:17: error: missing binary operator before token "(" | |
112 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT_C2X) | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:283:17: error: missing binary operator before token "(" | |
283 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) || __MATH_DECLARING_FLOATN | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:338:17: error: missing binary operator before token "(" | |
338 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) || __MATH_DECLARING_FLOATN | |
| ^ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:374:17: error: missing binary operator before token "(" | |
374 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN | |
| ^ | |
In file included from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/math.h:388:18: error: missing binary operator before token "(" | |
388 | # if __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:405:18: error: missing binary operator before token "(" | |
405 | # if __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:439:18: error: missing binary operator before token "(" | |
439 | # if __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:456:18: error: missing binary operator before token "(" | |
456 | # if __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:498:17: error: missing binary operator before token "(" | |
498 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| ^ | |
/usr/include/math.h:550:17: error: missing binary operator before token "(" | |
550 | #if __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| ^ | |
/usr/include/math.h:972:17: error: missing binary operator before token "(" | |
972 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| ^ | |
/usr/include/math.h:1249:17: error: missing binary operator before token "(" | |
1249 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| ^ | |
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/c++config.h:528, | |
from /usr/include/c++/9/type_traits:38, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Std.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Integer.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/cmath:588:7: error: missing binary operator before token "(" | |
588 | && !_GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/9/cmath:615:7: error: missing binary operator before token "(" | |
615 | && !_GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:17, | |
from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:68:18: error: missing binary operator before token "(" | |
68 | #if __has_feature(cxx_rtti) | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:86:18: error: missing binary operator before token "(" | |
86 | #if __has_feature(cxx_rtti) | |
| ^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:601:20: error: missing binary operator before token "(" | |
601 | #if __is_identifier(typeof) | |
| ^ | |
In file included from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:29:18: error: missing binary operator before token "(" | |
29 | #if __has_feature(leak_sanitizer) || __has_feature(address_sanitizer) | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:718:18: error: missing binary operator before token "(" | |
718 | #if __has_feature(leak_sanitizer) || __has_feature(address_sanitizer) | |
| ^ | |
In file included from /usr/include/c++/9/bits/localefwd.h:40, | |
from /usr/include/c++/9/ios:41, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/c++locale.h:62:11: error: ‘__locale_t’ does not name a type; did you mean ‘locale_t’? | |
62 | typedef __locale_t __c_locale; | |
| ^~~~~~~~~~ | |
| locale_t | |
/usr/include/x86_64-linux-gnu/c++/9/bits/c++locale.h:69:26: error: ‘__c_locale’ does not name a type | |
69 | __convert_from_v(const __c_locale& __cloc __attribute__ ((__unused__)), | |
| ^~~~~~~~~~ | |
In file included from /usr/include/c++/9/cstdlib:75, | |
from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/stdlib.h:33:1: error: ‘__BEGIN_DECLS’ does not name a type | |
33 | __BEGIN_DECLS | |
| ^~~~~~~~~~~~~ | |
In file included from /usr/include/c++/9/cstdlib:75, | |
from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/stdlib.h:62:5: error: ‘div_t’ does not name a type | |
62 | } div_t; | |
| ^~~~~ | |
/usr/include/stdlib.h:97:45: error: expected initializer before ‘__THROW’ | |
97 | extern size_t __ctype_get_mb_cur_max (void) __THROW __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:102:6: error: expected initializer before ‘__THROW’ | |
102 | __THROW __attribute_pure__ __nonnull ((1)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:105:6: error: expected initializer before ‘__THROW’ | |
105 | __THROW __attribute_pure__ __nonnull ((1)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:108:6: error: expected initializer before ‘__THROW’ | |
108 | __THROW __attribute_pure__ __nonnull ((1)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:119:6: error: expected initializer before ‘__THROW’ | |
119 | __THROW __nonnull ((1)); | |
| ^~~~~~~ | |
/usr/include/stdlib.h:178:6: error: expected initializer before ‘__THROW’ | |
178 | __THROW __nonnull ((1)); | |
| ^~~~~~~ | |
/usr/include/stdlib.h:182:6: error: expected initializer before ‘__THROW’ | |
182 | __THROW __nonnull ((1)); | |
| ^~~~~~~ | |
/usr/include/stdlib.h:453:24: error: expected initializer before ‘__THROW’ | |
453 | extern int rand (void) __THROW; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:455:41: error: expected initializer before ‘__THROW’ | |
455 | extern void srand (unsigned int __seed) __THROW; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:539:37: error: expected initializer before ‘__THROW’ | |
539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | |
| ^~~~~~~ | |
/usr/include/stdlib.h:543:6: error: expected initializer before ‘__THROW’ | |
543 | __THROW __attribute_malloc__ __attribute_alloc_size__ ((1, 2)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:551:6: error: expected initializer before ‘__THROW’ | |
551 | __THROW __attribute_warn_unused_result__ __attribute_alloc_size__ ((2)); | |
| ^~~~~~~ | |
/usr/include/stdlib.h:565:32: error: expected initializer before ‘__THROW’ | |
565 | extern void free (void *__ptr) __THROW; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:591:26: error: expected initializer before ‘__THROW’ | |
591 | extern void abort (void) __THROW __attribute__ ((__noreturn__)); | |
| ^~~~~~~ | |
/usr/include/stdlib.h:595:43: error: expected initializer before ‘__THROW’ | |
595 | extern int atexit (void (*__func) (void)) __THROW __nonnull ((1)); | |
| ^~~~~~~ | |
/usr/include/stdlib.h:617:33: error: expected initializer before ‘__THROW’ | |
617 | extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); | |
| ^~~~~~~ | |
/usr/include/stdlib.h:634:42: error: expected initializer before ‘__THROW’ | |
634 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:784:43: error: expected initializer before ‘__wur’ | |
784 | extern int system (const char *__command) __wur; | |
| ^~~~~ | |
/usr/include/stdlib.h:822:6: error: expected initializer before ‘__nonnull’ | |
822 | __nonnull ((1, 2, 5)) __wur; | |
| ^~~~~~~~~ | |
/usr/include/stdlib.h:831:30: error: expected initializer before ‘__nonnull’ | |
831 | __compar_fn_t __compar) __nonnull ((1, 4)); | |
| ^~~~~~~~~ | |
/usr/include/stdlib.h:840:26: error: expected initializer before ‘__THROW’ | |
840 | extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:841:37: error: expected initializer before ‘__THROW’ | |
841 | extern long int labs (long int __x) __THROW __attribute__ ((__const__)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:852:8: error: ‘div_t’ does not name a type; did you mean ‘ldiv_t’? | |
852 | extern div_t div (int __numer, int __denom) | |
| ^~~~~ | |
| ldiv_t | |
/usr/include/stdlib.h:855:6: error: expected initializer before ‘__THROW’ | |
855 | __THROW __attribute__ ((__const__)) __wur; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:922:48: error: expected initializer before ‘__THROW’ | |
922 | extern int mblen (const char *__s, size_t __n) __THROW; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:926:46: error: expected initializer before ‘__THROW’ | |
926 | const char *__restrict __s, size_t __n) __THROW; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:929:48: error: expected initializer before ‘__THROW’ | |
929 | extern int wctomb (char *__s, wchar_t __wchar) __THROW; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:934:44: error: expected initializer before ‘__THROW’ | |
934 | const char *__restrict __s, size_t __n) __THROW; | |
| ^~~~~~~ | |
/usr/include/stdlib.h:938:6: error: expected initializer before ‘__THROW’ | |
938 | __THROW; | |
| ^~~~~~~ | |
In file included from /usr/include/c++/9/cstdlib:75, | |
from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/stdlib.h:1023:1: error: ‘__END_DECLS’ does not name a type | |
1023 | __END_DECLS | |
| ^~~~~~~~~~~ | |
In file included from /usr/include/c++/9/ext/string_conversions.h:41, | |
from /usr/include/c++/9/bits/basic_string.h:6496, | |
from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/cstdlib:127:11: error: ‘::div_t’ has not been declared | |
127 | using ::div_t; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:130:11: error: ‘::abort’ has not been declared | |
130 | using ::abort; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:134:11: error: ‘::atexit’ has not been declared | |
134 | using ::atexit; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:137:11: error: ‘::at_quick_exit’ has not been declared | |
137 | using ::at_quick_exit; | |
| ^~~~~~~~~~~~~ | |
/usr/include/c++/9/cstdlib:140:11: error: ‘::atof’ has not been declared | |
140 | using ::atof; | |
| ^~~~ | |
/usr/include/c++/9/cstdlib:141:11: error: ‘::atoi’ has not been declared | |
141 | using ::atoi; | |
| ^~~~ | |
/usr/include/c++/9/cstdlib:142:11: error: ‘::atol’ has not been declared | |
142 | using ::atol; | |
| ^~~~ | |
/usr/include/c++/9/cstdlib:143:11: error: ‘::bsearch’ has not been declared | |
143 | using ::bsearch; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:145:11: error: ‘::div’ has not been declared | |
145 | using ::div; | |
| ^~~ | |
/usr/include/c++/9/cstdlib:146:11: error: ‘::exit’ has not been declared | |
146 | using ::exit; | |
| ^~~~ | |
/usr/include/c++/9/cstdlib:148:11: error: ‘::getenv’ has not been declared | |
148 | using ::getenv; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:149:11: error: ‘::labs’ has not been declared | |
149 | using ::labs; | |
| ^~~~ | |
/usr/include/c++/9/cstdlib:150:11: error: ‘::ldiv’ has not been declared | |
150 | using ::ldiv; | |
| ^~~~ | |
/usr/include/c++/9/cstdlib:151:11: error: ‘::malloc’ has not been declared | |
151 | using ::malloc; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:153:11: error: ‘::mblen’ has not been declared | |
153 | using ::mblen; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:154:11: error: ‘::mbstowcs’ has not been declared | |
154 | using ::mbstowcs; | |
| ^~~~~~~~ | |
/usr/include/c++/9/cstdlib:155:11: error: ‘::mbtowc’ has not been declared | |
155 | using ::mbtowc; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:157:11: error: ‘::qsort’ has not been declared | |
157 | using ::qsort; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:160:11: error: ‘::quick_exit’ has not been declared | |
160 | using ::quick_exit; | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/cstdlib:163:11: error: ‘::rand’ has not been declared | |
163 | using ::rand; | |
| ^~~~ | |
/usr/include/c++/9/cstdlib:164:11: error: ‘::realloc’ has not been declared | |
164 | using ::realloc; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:165:11: error: ‘::srand’ has not been declared | |
165 | using ::srand; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:166:11: error: ‘::strtod’ has not been declared | |
166 | using ::strtod; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:167:11: error: ‘::strtol’ has not been declared | |
167 | using ::strtol; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:168:11: error: ‘::strtoul’ has not been declared | |
168 | using ::strtoul; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:169:11: error: ‘::system’ has not been declared | |
169 | using ::system; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:171:11: error: ‘::wcstombs’ has not been declared | |
171 | using ::wcstombs; | |
| ^~~~~~~~ | |
/usr/include/c++/9/cstdlib:172:11: error: ‘::wctomb’ has not been declared | |
172 | using ::wctomb; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib: In function ‘ldiv_t std::div(long int, long int)’: | |
/usr/include/c++/9/cstdlib:177:36: error: ‘ldiv’ was not declared in this scope; did you mean ‘div’? | |
177 | div(long __i, long __j) { return ldiv(__i, __j); } | |
| ^~~~ | |
| div | |
/usr/include/c++/9/cstdlib: At global scope: | |
/usr/include/c++/9/cstdlib:200:11: error: ‘::lldiv_t’ has not been declared | |
200 | using ::lldiv_t; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:206:11: error: ‘::_Exit’ has not been declared | |
206 | using ::_Exit; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:210:11: error: ‘::llabs’ has not been declared | |
210 | using ::llabs; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:212:10: error: ‘lldiv_t’ does not name a type; did you mean ‘ldiv_t’? | |
212 | inline lldiv_t | |
| ^~~~~~~ | |
| ldiv_t | |
/usr/include/c++/9/cstdlib:216:11: error: ‘::lldiv’ has not been declared | |
216 | using ::lldiv; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:227:11: error: ‘::atoll’ has not been declared | |
227 | using ::atoll; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:228:11: error: ‘::strtoll’ has not been declared | |
228 | using ::strtoll; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:229:11: error: ‘::strtoull’ has not been declared | |
229 | using ::strtoull; | |
| ^~~~~~~~ | |
/usr/include/c++/9/cstdlib:231:11: error: ‘::strtof’ has not been declared | |
231 | using ::strtof; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:232:11: error: ‘::strtold’ has not been declared | |
232 | using ::strtold; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:240:22: error: ‘__gnu_cxx::lldiv_t’ has not been declared | |
240 | using ::__gnu_cxx::lldiv_t; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:242:22: error: ‘__gnu_cxx::_Exit’ has not been declared | |
242 | using ::__gnu_cxx::_Exit; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:244:22: error: ‘__gnu_cxx::llabs’ has not been declared | |
244 | using ::__gnu_cxx::llabs; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:245:22: error: ‘__gnu_cxx::div’ has not been declared | |
245 | using ::__gnu_cxx::div; | |
| ^~~ | |
/usr/include/c++/9/cstdlib:246:22: error: ‘__gnu_cxx::lldiv’ has not been declared | |
246 | using ::__gnu_cxx::lldiv; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:248:22: error: ‘__gnu_cxx::atoll’ has not been declared | |
248 | using ::__gnu_cxx::atoll; | |
| ^~~~~ | |
/usr/include/c++/9/cstdlib:249:22: error: ‘__gnu_cxx::strtof’ has not been declared | |
249 | using ::__gnu_cxx::strtof; | |
| ^~~~~~ | |
/usr/include/c++/9/cstdlib:250:22: error: ‘__gnu_cxx::strtoll’ has not been declared | |
250 | using ::__gnu_cxx::strtoll; | |
| ^~~~~~~ | |
/usr/include/c++/9/cstdlib:251:22: error: ‘__gnu_cxx::strtoull’ has not been declared | |
251 | using ::__gnu_cxx::strtoull; | |
| ^~~~~~~~ | |
/usr/include/c++/9/cstdlib:252:22: error: ‘__gnu_cxx::strtold’ has not been declared | |
252 | using ::__gnu_cxx::strtold; | |
| ^~~~~~~ | |
In file included from /usr/include/c++/9/string:55, | |
from /usr/include/c++/9/bits/locale_classes.h:40, | |
from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/basic_string.h: In function ‘int std::__cxx11::stoi(const string&, std::size_t*, int)’: | |
/usr/include/c++/9/bits/basic_string.h:6507:47: error: ‘strtol’ is not a member of ‘std’ | |
6507 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), | |
| ^~~~~~ | |
/usr/include/c++/9/bits/basic_string.h: In function ‘long int std::__cxx11::stol(const string&, std::size_t*, int)’: | |
/usr/include/c++/9/bits/basic_string.h:6512:36: error: ‘strtol’ is not a member of ‘std’ | |
6512 | { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(), | |
| ^~~~~~ | |
/usr/include/c++/9/bits/basic_string.h: In function ‘long unsigned int std::__cxx11::stoul(const string&, std::size_t*, int)’: | |
/usr/include/c++/9/bits/basic_string.h:6517:36: error: ‘strtoul’ is not a member of ‘std’ | |
6517 | { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(), | |
| ^~~~~~~ | |
/usr/include/c++/9/bits/basic_string.h: In function ‘long long int std::__cxx11::stoll(const string&, std::size_t*, int)’: | |
/usr/include/c++/9/bits/basic_string.h:6522:36: error: ‘strtoll’ is not a member of ‘std’ | |
6522 | { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(), | |
| ^~~~~~~ | |
/usr/include/c++/9/bits/basic_string.h: In function ‘long long unsigned int std::__cxx11::stoull(const string&, std::size_t*, int)’: | |
/usr/include/c++/9/bits/basic_string.h:6527:36: error: ‘strtoull’ is not a member of ‘std’ | |
6527 | { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(), | |
| ^~~~~~~~ | |
/usr/include/c++/9/bits/basic_string.h: In function ‘float std::__cxx11::stof(const string&, std::size_t*)’: | |
/usr/include/c++/9/bits/basic_string.h:6533:36: error: ‘strtof’ is not a member of ‘std’ | |
6533 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } | |
| ^~~~~~ | |
/usr/include/c++/9/bits/basic_string.h: In function ‘double std::__cxx11::stod(const string&, std::size_t*)’: | |
/usr/include/c++/9/bits/basic_string.h:6537:36: error: ‘strtod’ is not a member of ‘std’ | |
6537 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } | |
| ^~~~~~ | |
/usr/include/c++/9/bits/basic_string.h: In function ‘long double std::__cxx11::stold(const string&, std::size_t*)’: | |
/usr/include/c++/9/bits/basic_string.h:6541:36: error: ‘strtold’ is not a member of ‘std’ | |
6541 | { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } | |
| ^~~~~~~ | |
In file included from /usr/include/c++/9/bits/ios_base.h:41, | |
from /usr/include/c++/9/ios:42, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/locale_classes.h: At global scope: | |
/usr/include/c++/9/bits/locale_classes.h:380:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
380 | static __c_locale _S_c_locale; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_classes.h:411:24: error: ‘__c_locale’ has not been declared | |
411 | _S_create_c_locale(__c_locale& __cloc, const char* __s, | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_classes.h:412:10: error: ‘__c_locale’ has not been declared | |
412 | __c_locale __old = 0); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_classes.h:414:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
414 | static __c_locale | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_classes.h:418:25: error: ‘__c_locale’ has not been declared | |
418 | _S_destroy_c_locale(__c_locale& __cloc); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_classes.h:420:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
420 | static __c_locale | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_classes.h:425:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
425 | static __c_locale | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_classes.h:655:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
655 | __c_locale _M_c_locale_collate; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_classes.h:683:25: error: expected ‘)’ before ‘__cloc’ | |
683 | collate(__c_locale __cloc, size_t __refs = 0) | |
| ~ ^~~~~~~ | |
| ) | |
/usr/include/c++/9/bits/locale_classes.h: In constructor ‘std::__cxx11::collate<_CharT>::collate(std::size_t)’: | |
/usr/include/c++/9/bits/locale_classes.h:670:24: error: class ‘std::__cxx11::collate<_CharT>’ does not have any field named ‘_M_c_locale_collate’ | |
670 | : facet(__refs), _M_c_locale_collate(_S_get_c_locale()) | |
| ^~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_classes.h:670:44: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
670 | : facet(__refs), _M_c_locale_collate(_S_get_c_locale()) | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_classes.h:670:44: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) | |
/usr/include/c++/9/bits/locale_classes.h: In destructor ‘virtual std::__cxx11::collate<_CharT>::~collate()’: | |
/usr/include/c++/9/bits/locale_classes.h:747:29: error: ‘_M_c_locale_collate’ was not declared in this scope | |
747 | { _S_destroy_c_locale(_M_c_locale_collate); } | |
| ^~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/9/bits/locale_facets.h:41, | |
from /usr/include/c++/9/bits/basic_ios.h:37, | |
from /usr/include/c++/9/ios:44, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h: At global scope: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:49:35: error: ‘_ISupper’ was not declared in this scope; did you mean ‘_toupper’? | |
49 | static const mask upper = _ISupper; | |
| ^~~~~~~~ | |
| _toupper | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:50:32: error: ‘_ISlower’ was not declared in this scope; did you mean ‘_tolower’? | |
50 | static const mask lower = _ISlower; | |
| ^~~~~~~~ | |
| _tolower | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:51:32: error: ‘_ISalpha’ was not declared in this scope | |
51 | static const mask alpha = _ISalpha; | |
| ^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:52:32: error: ‘_ISdigit’ was not declared in this scope | |
52 | static const mask digit = _ISdigit; | |
| ^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:53:33: error: ‘_ISxdigit’ was not declared in this scope; did you mean ‘isxdigit’? | |
53 | static const mask xdigit = _ISxdigit; | |
| ^~~~~~~~~ | |
| isxdigit | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:54:32: error: ‘_ISspace’ was not declared in this scope | |
54 | static const mask space = _ISspace; | |
| ^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:55:32: error: ‘_ISprint’ was not declared in this scope | |
55 | static const mask print = _ISprint; | |
| ^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:56:32: error: ‘_ISalpha’ was not declared in this scope; did you mean ‘alpha’? | |
56 | static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
| ^~~~~~~~ | |
| alpha | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:56:43: error: ‘_ISdigit’ was not declared in this scope; did you mean ‘xdigit’? | |
56 | static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
| ^~~~~~~~ | |
| xdigit | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:56:54: error: ‘_ISpunct’ was not declared in this scope | |
56 | static const mask graph = _ISalpha | _ISdigit | _ISpunct; | |
| ^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:57:32: error: ‘_IScntrl’ was not declared in this scope | |
57 | static const mask cntrl = _IScntrl; | |
| ^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:58:32: error: ‘_ISpunct’ was not declared in this scope | |
58 | static const mask punct = _ISpunct; | |
| ^~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:59:32: error: ‘_ISalpha’ was not declared in this scope; did you mean ‘alpha’? | |
59 | static const mask alnum = _ISalpha | _ISdigit; | |
| ^~~~~~~~ | |
| alpha | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:59:43: error: ‘_ISdigit’ was not declared in this scope; did you mean ‘xdigit’? | |
59 | static const mask alnum = _ISalpha | _ISdigit; | |
| ^~~~~~~~ | |
| xdigit | |
/usr/include/x86_64-linux-gnu/c++/9/bits/ctype_base.h:61:31: error: ‘_ISblank’ was not declared in this scope | |
61 | static const mask blank = _ISblank; | |
| ^~~~~~~~ | |
In file included from /usr/include/c++/9/bits/basic_ios.h:37, | |
from /usr/include/c++/9/ios:44, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/locale_facets.h:74:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
74 | const __c_locale&) throw(); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:80:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
80 | const __c_locale&) throw(); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:85:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
85 | const __c_locale&) throw(); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:90:12: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
90 | const __c_locale&) throw(); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:690:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
690 | __c_locale _M_c_locale_ctype; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:731:23: error: expected ‘)’ before ‘__cloc’ | |
731 | ctype(__c_locale __cloc, const mask* __table = 0, bool __del = false, | |
| ~ ^~~~~~~ | |
| ) | |
/usr/include/c++/9/bits/locale_facets.h:1195:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
1195 | __c_locale _M_c_locale_ctype; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:1230:23: error: expected ‘)’ before ‘__cloc’ | |
1230 | ctype(__c_locale __cloc, size_t __refs = 0); | |
| ~ ^~~~~~~ | |
| ) | |
In file included from /usr/include/c++/9/bits/basic_ios.h:37, | |
from /usr/include/c++/9/ios:44, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/locale_facets.h:1722:26: error: expected ‘)’ before ‘__cloc’ | |
1722 | numpunct(__c_locale __cloc, size_t __refs = 0) | |
| ~ ^~~~~~~ | |
| ) | |
/usr/include/c++/9/bits/locale_facets.h:1879:30: error: ‘__c_locale’ has not been declared | |
1879 | _M_initialize_numpunct(__c_locale __cloc = 0); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.h:1890:44: error: variable or field ‘_M_initialize_numpunct’ declared void | |
1890 | numpunct<char>::_M_initialize_numpunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.h:1890:44: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1890 | numpunct<char>::_M_initialize_numpunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:1898:47: error: variable or field ‘_M_initialize_numpunct’ declared void | |
1898 | numpunct<wchar_t>::_M_initialize_numpunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.h:1898:47: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1898 | numpunct<wchar_t>::_M_initialize_numpunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h: In constructor ‘std::__cxx11::numpunct_byname<_CharT>::numpunct_byname(const char*, std::size_t)’: | |
/usr/include/c++/9/bits/locale_facets.h:1916:6: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1916 | __c_locale __tmp; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets.h:1917:31: error: ‘__tmp’ was not declared in this scope | |
1917 | this->_S_create_c_locale(__tmp, __s); | |
| ^~~~~ | |
In file included from /usr/include/c++/9/bits/locale_facets.h:2655, | |
from /usr/include/c++/9/bits/basic_ios.h:37, | |
from /usr/include/c++/9/ios:44, | |
from /usr/include/c++/9/ostream:38, | |
from /usr/include/c++/9/iostream:39, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, float&) const’: | |
/usr/include/c++/9/bits/locale_facets.tcc:697:55: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
697 | std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, double&) const’: | |
/usr/include/c++/9/bits/locale_facets.tcc:712:55: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
712 | std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.tcc: In member function ‘virtual _InIter std::num_get<_CharT, _InIter>::do_get(std::num_get<_CharT, _InIter>::iter_type, std::num_get<_CharT, _InIter>::iter_type, std::ios_base&, std::ios_base::iostate&, long double&) const’: | |
/usr/include/c++/9/bits/locale_facets.tcc:744:55: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
744 | std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale()); | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.tcc: In member function ‘_OutIter std::num_put<_CharT, _OutIter>::_M_insert_float(_OutIter, std::ios_base&, _CharT, char, _ValueT) const’: | |
/usr/include/c++/9/bits/locale_facets.tcc:1005:34: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
1005 | __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.tcc:1008:34: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
1008 | __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.tcc:1017:38: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
1017 | __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets.tcc:1020:38: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
1020 | __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, | |
| ^~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/9/locale:41, | |
from /usr/include/c++/9/iomanip:43, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/locale_facets_nonio.h: At global scope: | |
/usr/include/c++/9/bits/locale_facets_nonio.h:183:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
183 | __c_locale _M_c_locale_timepunct; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:207:29: error: expected ‘)’ before ‘__cloc’ | |
207 | __timepunct(__c_locale __cloc, const char* __s, size_t __refs = 0); | |
| ~ ^~~~~~~ | |
| ) | |
/usr/include/c++/9/bits/locale_facets_nonio.h:316:31: error: ‘__c_locale’ has not been declared | |
316 | _M_initialize_timepunct(__c_locale __cloc = 0); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:325:48: error: variable or field ‘_M_initialize_timepunct’ declared void | |
325 | __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:325:48: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
325 | __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:334:51: error: variable or field ‘_M_initialize_timepunct’ declared void | |
334 | __timepunct<wchar_t>::_M_initialize_timepunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:334:51: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
334 | __timepunct<wchar_t>::_M_initialize_timepunct(__c_locale __cloc); | |
| ^~~~~~~~~~ | |
| locale | |
In file included from /usr/include/c++/9/bits/locale_facets_nonio.h:346, | |
from /usr/include/c++/9/locale:41, | |
from /usr/include/c++/9/iomanip:43, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h: In constructor ‘std::__timepunct<_CharT>::__timepunct(std::size_t)’: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h:43:34: error: class ‘std::__timepunct<_CharT>’ does not have any field named ‘_M_c_locale_timepunct’ | |
43 | : facet(__refs), _M_data(0), _M_c_locale_timepunct(0), | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h: In constructor ‘std::__timepunct<_CharT>::__timepunct(std::__timepunct<_CharT>::__cache_type*, std::size_t)’: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h:49:40: error: class ‘std::__timepunct<_CharT>’ does not have any field named ‘_M_c_locale_timepunct’ | |
49 | : facet(__refs), _M_data(__cache), _M_c_locale_timepunct(0), | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h: At global scope: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h:54:37: error: expected constructor, destructor, or type conversion before ‘(’ token | |
54 | __timepunct<_CharT>::__timepunct(__c_locale __cloc, const char* __s, | |
| ^ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h: In destructor ‘virtual std::__timepunct<_CharT>::~__timepunct()’: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/time_members.h:85:27: error: ‘_M_c_locale_timepunct’ was not declared in this scope; did you mean ‘_M_name_timepunct’? | |
85 | _S_destroy_c_locale(_M_c_locale_timepunct); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| _M_name_timepunct | |
In file included from /usr/include/c++/9/locale:41, | |
from /usr/include/c++/9/iomanip:43, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/locale_facets_nonio.h: At global scope: | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1081:28: error: expected ‘)’ before ‘__cloc’ | |
1081 | moneypunct(__c_locale __cloc, const char* __s, size_t __refs = 0) | |
| ~ ^~~~~~~ | |
| ) | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1370:33: error: ‘__c_locale’ has not been declared | |
1370 | _M_initialize_moneypunct(__c_locale __cloc = 0, | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1388:54: error: variable or field ‘_M_initialize_moneypunct’ declared void | |
1388 | moneypunct<char, true>::_M_initialize_moneypunct(__c_locale, const char*); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1388:54: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1388 | moneypunct<char, true>::_M_initialize_moneypunct(__c_locale, const char*); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1388:66: error: expected primary-expression before ‘const’ | |
1388 | eypunct<char, true>::_M_initialize_moneypunct(__c_locale, const char*); | |
| ^~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1392:55: error: variable or field ‘_M_initialize_moneypunct’ declared void | |
1392 | moneypunct<char, false>::_M_initialize_moneypunct(__c_locale, const char*); | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1392:55: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1392 | moneypunct<char, false>::_M_initialize_moneypunct(__c_locale, const char*); | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1392:67: error: expected primary-expression before ‘const’ | |
1392 | ypunct<char, false>::_M_initialize_moneypunct(__c_locale, const char*); | |
| ^~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1403:57: error: variable or field ‘_M_initialize_moneypunct’ declared void | |
1403 | moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale, | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1403:57: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1403 | moneypunct<wchar_t, true>::_M_initialize_moneypunct(__c_locale, | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1404:8: error: expected primary-expression before ‘const’ | |
1404 | const char*); | |
| ^~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1408:58: error: variable or field ‘_M_initialize_moneypunct’ declared void | |
1408 | moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale, | |
| ^~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1408:58: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1408 | moneypunct<wchar_t, false>::_M_initialize_moneypunct(__c_locale, | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1409:9: error: expected primary-expression before ‘const’ | |
1409 | const char*); | |
| ^~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h: In constructor ‘std::__cxx11::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, std::size_t)’: | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1429:6: error: ‘__c_locale’ was not declared in this scope; did you mean ‘locale’? | |
1429 | __c_locale __tmp; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1430:31: error: ‘__tmp’ was not declared in this scope | |
1430 | this->_S_create_c_locale(__tmp, __s); | |
| ^~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.h: At global scope: | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1812:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
1812 | __c_locale _M_c_locale_messages; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/locale_facets_nonio.h:1841:26: error: expected ‘)’ before ‘__cloc’ | |
1841 | messages(__c_locale __cloc, const char* __s, size_t __refs = 0); | |
| ~ ^~~~~~~ | |
| ) | |
In file included from /usr/include/c++/9/bits/locale_facets_nonio.h:2010, | |
from /usr/include/c++/9/locale:41, | |
from /usr/include/c++/9/iomanip:43, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/messages_members.h: In constructor ‘std::__cxx11::messages<_CharT>::messages(std::size_t)’: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/messages_members.h:45:22: error: class ‘std::__cxx11::messages<_CharT>’ does not have any field named ‘_M_c_locale_messages’ | |
45 | : facet(__refs), _M_c_locale_messages(_S_get_c_locale()), | |
| ^~~~~~~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/messages_members.h:45:43: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
45 | : facet(__refs), _M_c_locale_messages(_S_get_c_locale()), | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/messages_members.h: At global scope: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/messages_members.h:50:31: error: expected constructor, destructor, or type conversion before ‘(’ token | |
50 | messages<_CharT>::messages(__c_locale __cloc, const char* __s, | |
| ^ | |
/usr/include/x86_64-linux-gnu/c++/9/bits/messages_members.h: In destructor ‘virtual std::__cxx11::messages<_CharT>::~messages()’: | |
/usr/include/x86_64-linux-gnu/c++/9/bits/messages_members.h:83:27: error: ‘_M_c_locale_messages’ was not declared in this scope; did you mean ‘_M_name_messages’? | |
83 | _S_destroy_c_locale(_M_c_locale_messages); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| _M_name_messages | |
In file included from /usr/include/c++/9/bits/locale_facets_nonio.h:2013, | |
from /usr/include/c++/9/locale:41, | |
from /usr/include/c++/9/iomanip:43, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/codecvt.h: At global scope: | |
/usr/include/c++/9/bits/codecvt.h:285:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
285 | __c_locale _M_c_locale_codecvt; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/codecvt.h:297:25: error: expected ‘)’ before ‘__cloc’ | |
297 | codecvt(__c_locale __cloc, size_t __refs = 0); | |
| ~ ^~~~~~~ | |
| ) | |
/usr/include/c++/9/bits/codecvt.h: In constructor ‘std::codecvt<_InternT, _ExternT, _StateT>::codecvt(std::size_t)’: | |
/usr/include/c++/9/bits/codecvt.h:293:2: error: class ‘std::codecvt<_InternT, _ExternT, _StateT>’ does not have any field named ‘_M_c_locale_codecvt’ | |
293 | _M_c_locale_codecvt(0) | |
| ^~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/codecvt.h: At global scope: | |
/usr/include/c++/9/bits/codecvt.h:350:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
350 | __c_locale _M_c_locale_codecvt; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/codecvt.h:359:25: error: expected ‘)’ before ‘__cloc’ | |
359 | codecvt(__c_locale __cloc, size_t __refs = 0); | |
| ~ ^~~~~~~ | |
| ) | |
/usr/include/c++/9/bits/codecvt.h:413:7: error: ‘__c_locale’ does not name a type; did you mean ‘locale’? | |
413 | __c_locale _M_c_locale_codecvt; | |
| ^~~~~~~~~~ | |
| locale | |
/usr/include/c++/9/bits/codecvt.h:422:25: error: expected ‘)’ before ‘__cloc’ | |
422 | codecvt(__c_locale __cloc, size_t __refs = 0); | |
| ~ ^~~~~~~ | |
| ) | |
In file included from /usr/include/c++/9/bits/locale_facets_nonio.h:2015, | |
from /usr/include/c++/9/locale:41, | |
from /usr/include/c++/9/iomanip:43, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Stream.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/locale_facets_nonio.tcc: In member function ‘virtual _InIter std::__cxx11::money_get<_CharT, _InIter>::do_get(std::__cxx11::money_get<_CharT, _InIter>::iter_type, std::__cxx11::money_get<_CharT, _InIter>::iter_type, bool, std::ios_base&, std::ios_base::iostate&, long double&) const’: | |
/usr/include/c++/9/bits/locale_facets_nonio.tcc:377:58: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
377 | std::__convert_to_v(__str.c_str(), __units, __err, _S_get_c_locale()); | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.tcc: In member function ‘virtual _OutIter std::__cxx11::money_put<_CharT, _OutIter>::do_put(std::__cxx11::money_put<_CharT, _OutIter>::iter_type, bool, std::ios_base&, std::__cxx11::money_put<_CharT, _OutIter>::char_type, long double) const’: | |
/usr/include/c++/9/bits/locale_facets_nonio.tcc:588:41: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
588 | int __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, | |
| ^~~~~~~~~~~~~~~ | |
/usr/include/c++/9/bits/locale_facets_nonio.tcc:595:34: error: there are no arguments to ‘_S_get_c_locale’ that depend on a template parameter, so a declaration of ‘_S_get_c_locale’ must be available [-fpermissive] | |
595 | __len = std::__convert_from_v(_S_get_c_locale(), __cs, __cs_size, | |
| ^~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/math.h: At global scope: | |
/usr/include/math.h:34:1: error: ‘__BEGIN_DECLS’ does not name a type | |
34 | __BEGIN_DECLS | |
| ^~~~~~~~~~~~~ | |
In file included from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: error: ‘__fpclassify’ was not declared in this scope | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: error: expected primary-expression before ‘)’ token | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: error: expression list treated as compound expression in initializer [-fpermissive] | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:25:1: error: redefinition of ‘int __CONCAT’ | |
25 | __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: ‘int __CONCAT’ previously defined here | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:25:1: error: ‘__signbit’ was not declared in this scope | |
25 | __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:25:1: error: expected primary-expression before ‘)’ token | |
25 | __MATHDECL_1 (int, __signbit,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:30:1: error: redefinition of ‘int __CONCAT’ | |
30 | __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: ‘int __CONCAT’ previously defined here | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:30:1: error: ‘__isinf’ was not declared in this scope | |
30 | __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:30:1: error: expected primary-expression before ‘)’ token | |
30 | __MATHDECL_1 (int, __isinf,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:33:1: error: redefinition of ‘int __CONCAT’ | |
33 | __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: ‘int __CONCAT’ previously defined here | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:33:1: error: ‘__finite’ was not declared in this scope | |
33 | __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:33:1: error: expected primary-expression before ‘)’ token | |
33 | __MATHDECL_1 (int, __finite,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:36:1: error: redefinition of ‘int __CONCAT’ | |
36 | __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: ‘int __CONCAT’ previously defined here | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:36:1: error: ‘__isnan’ was not declared in this scope | |
36 | __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:36:1: error: expected primary-expression before ‘)’ token | |
36 | __MATHDECL_1 (int, __isnan,, (_Mdouble_ __value)) __attribute__ ((__const__)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:39:1: error: redefinition of ‘int __CONCAT’ | |
39 | __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: ‘int __CONCAT’ previously defined here | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:39:1: error: ‘__iseqsig’ was not declared in this scope | |
39 | __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:39:1: error: expected primary-expression before ‘)’ token | |
39 | __MATHDECL_1 (int, __iseqsig,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:42:1: error: redefinition of ‘int __CONCAT’ | |
42 | __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: ‘int __CONCAT’ previously defined here | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:42:1: error: ‘__issignaling’ was not declared in this scope | |
42 | __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:42:1: error: expected primary-expression before ‘)’ token | |
42 | __MATHDECL_1 (int, __issignaling,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: conflicting declaration ‘double __CONCAT’ | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: ‘acos’ was not declared in this scope | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: expected primary-expression before ‘)’ token | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: conflicting declaration ‘double __CONCAT’ | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: ‘__’ was not declared in this scope | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: ‘acos’ was not declared in this scope | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: ‘__CONCAT’ cannot be used as a function | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:1: error: expected primary-expression before ‘)’ token | |
53 | __MATHCALL (acos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: conflicting declaration ‘double __CONCAT’ | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: ‘asin’ was not declared in this scope | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: expected primary-expression before ‘)’ token | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: conflicting declaration ‘double __CONCAT’ | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: ‘__’ was not declared in this scope | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: ‘asin’ was not declared in this scope | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: ‘__CONCAT’ cannot be used as a function | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:1: error: expected primary-expression before ‘)’ token | |
55 | __MATHCALL (asin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: conflicting declaration ‘double __CONCAT’ | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: ‘atan’ was not declared in this scope | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: expected primary-expression before ‘)’ token | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: conflicting declaration ‘double __CONCAT’ | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: ‘__’ was not declared in this scope | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: ‘atan’ was not declared in this scope | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: ‘__CONCAT’ cannot be used as a function | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:1: error: expected primary-expression before ‘)’ token | |
57 | __MATHCALL (atan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: conflicting declaration ‘double __CONCAT’ | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: ‘atan2’ was not declared in this scope | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: expected primary-expression before ‘)’ token | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: conflicting declaration ‘double __CONCAT’ | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: ‘__’ was not declared in this scope | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: ‘atan2’ was not declared in this scope | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: ‘__CONCAT’ cannot be used as a function | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:1: error: expected primary-expression before ‘)’ token | |
59 | __MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:1: error: expected constructor, destructor, or type conversion before ‘(’ token | |
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:1: error: conflicting declaration ‘double __CONCAT’ | |
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:1: error: ‘__’ was not declared in this scope | |
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:1: error: ‘cos’ was not declared in this scope | |
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:1: error: ‘__CONCAT’ cannot be used as a function | |
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:1: error: expected primary-expression before ‘)’ token | |
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:1: error: expected constructor, destructor, or type conversion before ‘(’ token | |
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:1: error: conflicting declaration ‘double __CONCAT’ | |
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:1: error: ‘__’ was not declared in this scope | |
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:1: error: ‘sin’ was not declared in this scope; did you mean ‘Min’? | |
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:1: error: ‘__CONCAT’ cannot be used as a function | |
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:1: error: expected primary-expression before ‘)’ token | |
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: conflicting declaration ‘double __CONCAT’ | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: ‘tan’ was not declared in this scope | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: expected primary-expression before ‘)’ token | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: conflicting declaration ‘double __CONCAT’ | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: ‘__’ was not declared in this scope | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: ‘tan’ was not declared in this scope | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: ‘__CONCAT’ cannot be used as a function | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:1: error: expected primary-expression before ‘)’ token | |
66 | __MATHCALL (tan,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: conflicting declaration ‘double __CONCAT’ | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: ‘cosh’ was not declared in this scope | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: expected primary-expression before ‘)’ token | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: conflicting declaration ‘double __CONCAT’ | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: ‘__’ was not declared in this scope | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: ‘cosh’ was not declared in this scope | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: ‘__CONCAT’ cannot be used as a function | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:1: error: expected primary-expression before ‘)’ token | |
71 | __MATHCALL (cosh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: conflicting declaration ‘double __CONCAT’ | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: ‘sinh’ was not declared in this scope | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: expected primary-expression before ‘)’ token | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: conflicting declaration ‘double __CONCAT’ | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: ‘__’ was not declared in this scope | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: ‘sinh’ was not declared in this scope | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: ‘__CONCAT’ cannot be used as a function | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:1: error: expected primary-expression before ‘)’ token | |
73 | __MATHCALL (sinh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: conflicting declaration ‘double __CONCAT’ | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: ‘tanh’ was not declared in this scope | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: expected primary-expression before ‘)’ token | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: conflicting declaration ‘double __CONCAT’ | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: ‘__’ was not declared in this scope | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: ‘tanh’ was not declared in this scope | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: ‘__CONCAT’ cannot be used as a function | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:1: error: expected primary-expression before ‘)’ token | |
75 | __MATHCALL (tanh,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: error: expected constructor, destructor, or type conversion before ‘(’ token | |
95 | __MATHCALL_VEC (exp,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: error: conflicting declaration ‘double __CONCAT’ | |
95 | __MATHCALL_VEC (exp,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: error: ‘__’ was not declared in this scope | |
95 | __MATHCALL_VEC (exp,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: error: ‘exp’ was not declared in this scope | |
95 | __MATHCALL_VEC (exp,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: error: ‘__CONCAT’ cannot be used as a function | |
95 | __MATHCALL_VEC (exp,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:1: error: expected primary-expression before ‘)’ token | |
95 | __MATHCALL_VEC (exp,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: conflicting declaration ‘double __CONCAT’ | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: ‘frexp’ was not declared in this scope | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: expected primary-expression before ‘)’ token | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: conflicting declaration ‘double __CONCAT’ | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: ‘__’ was not declared in this scope | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: ‘frexp’ was not declared in this scope | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: ‘__CONCAT’ cannot be used as a function | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:1: error: expected primary-expression before ‘)’ token | |
98 | __MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: conflicting declaration ‘double __CONCAT’ | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: ‘ldexp’ was not declared in this scope | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: expected primary-expression before ‘)’ token | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: conflicting declaration ‘double __CONCAT’ | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: ‘__’ was not declared in this scope | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: ‘ldexp’ was not declared in this scope | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: ‘__CONCAT’ cannot be used as a function | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:1: error: expected primary-expression before ‘)’ token | |
101 | __MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:1: error: expected constructor, destructor, or type conversion before ‘(’ token | |
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:1: error: conflicting declaration ‘double __CONCAT’ | |
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:1: error: ‘__’ was not declared in this scope | |
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:1: error: ‘log’ was not declared in this scope; did you mean ‘long’? | |
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:1: error: ‘__CONCAT’ cannot be used as a function | |
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:1: error: expected primary-expression before ‘)’ token | |
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: conflicting declaration ‘double __CONCAT’ | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: ‘log10’ was not declared in this scope | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: expected primary-expression before ‘)’ token | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: conflicting declaration ‘double __CONCAT’ | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: ‘__’ was not declared in this scope | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: ‘log10’ was not declared in this scope | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: ‘__CONCAT’ cannot be used as a function | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:1: error: expected primary-expression before ‘)’ token | |
107 | __MATHCALL (log10,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: conflicting declaration ‘double __CONCAT’ | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: ‘modf’ was not declared in this scope | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: expected primary-expression before ‘)’ token | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: conflicting declaration ‘double __CONCAT’ | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: ‘__’ was not declared in this scope | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: ‘modf’ was not declared in this scope | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: ‘__CONCAT’ cannot be used as a function | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:1: error: expected primary-expression before ‘)’ token | |
110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: error: expected constructor, destructor, or type conversion before ‘(’ token | |
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: error: conflicting declaration ‘double __CONCAT’ | |
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: error: ‘__’ was not declared in this scope | |
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: error: ‘pow’ was not declared in this scope | |
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: error: ‘__CONCAT’ cannot be used as a function | |
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:140:1: error: expected primary-expression before ‘)’ token | |
140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: conflicting declaration ‘double __CONCAT’ | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: ‘sqrt’ was not declared in this scope | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: expected primary-expression before ‘)’ token | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: conflicting declaration ‘double __CONCAT’ | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: ‘__’ was not declared in this scope | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: ‘sqrt’ was not declared in this scope | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: ‘__CONCAT’ cannot be used as a function | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:143:1: error: expected primary-expression before ‘)’ token | |
143 | __MATHCALL (sqrt,, (_Mdouble_ __x)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: conflicting declaration ‘double __CONCAT’ | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: ‘ceil’ was not declared in this scope | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: expected primary-expression before ‘)’ token | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: conflicting declaration ‘double __CONCAT’ | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: ‘__’ was not declared in this scope | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: ‘ceil’ was not declared in this scope | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: ‘__CONCAT’ cannot be used as a function | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:159:1: error: expected primary-expression before ‘)’ token | |
159 | __MATHCALLX (ceil,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: conflicting declaration ‘double __CONCAT’ | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: ‘fabs’ was not declared in this scope | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: expected primary-expression before ‘)’ token | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: conflicting declaration ‘double __CONCAT’ | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: ‘__’ was not declared in this scope | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: ‘fabs’ was not declared in this scope | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: ‘__CONCAT’ cannot be used as a function | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:162:1: error: expected primary-expression before ‘)’ token | |
162 | __MATHCALLX (fabs,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: conflicting declaration ‘double __CONCAT’ | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: ‘floor’ was not declared in this scope | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: expected primary-expression before ‘)’ token | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: conflicting declaration ‘double __CONCAT’ | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: ‘__’ was not declared in this scope | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: ‘floor’ was not declared in this scope | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: ‘__CONCAT’ cannot be used as a function | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:1: error: expected primary-expression before ‘)’ token | |
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__)); | |
| ^~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: conflicting declaration ‘double __CONCAT’ | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: ‘fmod’ was not declared in this scope | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: expected primary-expression before ‘)’ token | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: conflicting declaration ‘double __CONCAT’ | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21:1: note: previous declaration as ‘int __CONCAT’ | |
21 | __MATHDECL_1 (int, __fpclassify,, (_Mdouble_ __value)) | |
| ^~~~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: ‘__’ was not declared in this scope | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: ‘fmod’ was not declared in this scope | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: ‘__CONCAT’ cannot be used as a function | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:168:1: error: expected primary-expression before ‘)’ token | |
168 | __MATHCALL (fmod,, (_Mdouble_ __x, _Mdouble_ __y)); | |
| ^~~~~~~~~~ | |
In file included from /usr/include/c++/9/cmath:45, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/math.h:1338:1: error: ‘__END_DECLS’ does not name a type | |
1338 | __END_DECLS | |
| ^~~~~~~~~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/Standard_PrimitiveTypes.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Transient.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Standard_Handle.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Abs(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:67:10: error: ‘fabs’ was not declared in this scope | |
67 | { return fabs(Value); } | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real ATan(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:160:10: error: ‘atan’ was not declared in this scope | |
160 | { return atan(Value); } | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Ceiling(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:167:10: error: ‘ceil’ was not declared in this scope | |
167 | { return ceil(Value); } | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Cos(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:173:10: error: ‘cos’ was not declared in this scope; did you mean ‘Cos’? | |
173 | { return cos(Value); } | |
| ^~~ | |
| Cos | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Exp(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:201:10: error: ‘exp’ was not declared in this scope; did you mean ‘Exp’? | |
201 | { return exp(Value); } | |
| ^~~ | |
| Exp | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Floor(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:207:10: error: ‘floor’ was not declared in this scope; did you mean ‘Floor’? | |
207 | { return floor(Value); } | |
| ^~~~~ | |
| Floor | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real IntegerPart(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:213:24: error: ‘floor’ was not declared in this scope; did you mean ‘Floor’? | |
213 | { return ( (Value>0) ? floor(Value) : ceil(Value) ); } | |
| ^~~~~ | |
| Floor | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:213:39: error: ‘ceil’ was not declared in this scope | |
213 | { return ( (Value>0) ? floor(Value) : ceil(Value) ); } | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Log10(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:220:10: error: ‘log10’ was not declared in this scope; did you mean ‘Log10’? | |
220 | { return log10(Value); } | |
| ^~~~~ | |
| Log10 | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Pow(Standard_Real, Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:244:10: error: ‘pow’ was not declared in this scope; did you mean ‘Pow’? | |
244 | { return pow(Value,P); } | |
| ^~~ | |
| Pow | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real RealPart(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:250:10: error: ‘fabs’ was not declared in this scope | |
250 | { return fabs(IntegerPart(Value) - Value); } | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Sin(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:293:10: error: ‘sin’ was not declared in this scope; did you mean ‘Sin’? | |
293 | { return sin(Value); } | |
| ^~~ | |
| Sin | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real ASinh(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:303:10: error: ‘asinh’ was not declared in this scope | |
303 | { return asinh(Value); } | |
| ^~~~~ | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Tan(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:316:10: error: ‘tan’ was not declared in this scope; did you mean ‘Tan’? | |
316 | { return tan(Value); } | |
| ^~~ | |
| Tan | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx: In function ‘Standard_Real Tanh(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_Real.hxx:322:10: error: ‘tanh’ was not declared in this scope; did you mean ‘Tanh’? | |
322 | { return tanh(Value); } | |
| ^~~~ | |
| Tanh | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_XYZ.hxx: In member function ‘Standard_Real gp_XYZ::Modulus() const’: | |
/usr/local/occt_static_build/include/opencascade/gp_XYZ.hxx:125:42: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
125 | Standard_Real Modulus() const { return sqrt (x * x + y * y + z * z); } | |
| ^~~~ | |
| Sqrt | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_XYZ.hxx: In member function ‘Standard_Real gp_XYZ::CrossMagnitude(const gp_XYZ&) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_XYZ.hxx:464:10: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
464 | return sqrt (aXresult * aXresult + aYresult * aYresult + aZresult * aZresult); | |
| ^~~~ | |
| Sqrt | |
In file included from /usr/local/occt_static_build/include/opencascade/NCollection_Vec3.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/NCollection_Vec4.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/NCollection_Mat4.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec2.hxx: In member function ‘NCollection_Vec2<Element_t> NCollection_Vec2<Element_t>::cwiseAbs() const’: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec2.hxx:201:35: error: ‘abs’ is not a member of ‘std’ | |
201 | return NCollection_Vec2 (std::abs (v[0]), | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec2.hxx:202:35: error: ‘abs’ is not a member of ‘std’ | |
202 | std::abs (v[1])); | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec2.hxx: In member function ‘Element_t NCollection_Vec2<Element_t>::Modulus() const’: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec2.hxx:270:17: error: ‘sqrt’ is not a member of ‘std’ | |
270 | return std::sqrt (x() * x() + y() * y()); | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/NCollection_Vec4.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/NCollection_Mat4.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec3.hxx: In member function ‘NCollection_Vec3<Element_t> NCollection_Vec3<Element_t>::cwiseAbs() const’: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec3.hxx:276:35: error: ‘abs’ is not a member of ‘std’ | |
276 | return NCollection_Vec3 (std::abs (v[0]), | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec3.hxx:277:35: error: ‘abs’ is not a member of ‘std’ | |
277 | std::abs (v[1]), | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec3.hxx:278:35: error: ‘abs’ is not a member of ‘std’ | |
278 | std::abs (v[2])); | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec3.hxx: In member function ‘Element_t NCollection_Vec3<Element_t>::Modulus() const’: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec3.hxx:337:17: error: ‘sqrt’ is not a member of ‘std’ | |
337 | return std::sqrt (x() * x() + y() * y() + z() * z()); | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/NCollection_Mat4.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec4.hxx: In member function ‘NCollection_Vec4<Element_t> NCollection_Vec4<Element_t>::cwiseAbs() const’: | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec4.hxx:308:35: error: ‘abs’ is not a member of ‘std’ | |
308 | return NCollection_Vec4 (std::abs (v[0]), | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec4.hxx:309:35: error: ‘abs’ is not a member of ‘std’ | |
309 | std::abs (v[1]), | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec4.hxx:310:35: error: ‘abs’ is not a member of ‘std’ | |
310 | std::abs (v[2]), | |
| ^~~ | |
/usr/local/occt_static_build/include/opencascade/NCollection_Vec4.hxx:311:35: error: ‘abs’ is not a member of ‘std’ | |
311 | std::abs (v[3])); | |
| ^~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Trsf2d.hxx:19, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:366, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Mat2d.hxx: In member function ‘void gp_Mat2d::SetRotation(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Mat2d.hxx:260:25: error: ‘sin’ was not declared in this scope; did you mean ‘Sin’? | |
260 | Standard_Real aSinA = sin (theAng); | |
| ^~~ | |
| Sin | |
/usr/local/occt_static_build/include/opencascade/gp_Mat2d.hxx:261:25: error: ‘cos’ was not declared in this scope; did you mean ‘Cos’? | |
261 | Standard_Real aCosA = cos (theAng); | |
| ^~~ | |
| Cos | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Trsf2d.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:366, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_XY.hxx: In member function ‘Standard_Real gp_XY::Modulus() const’: | |
/usr/local/occt_static_build/include/opencascade/gp_XY.hxx:101:42: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
101 | Standard_Real Modulus() const { return sqrt (x * x + y * y); } | |
| ^~~~ | |
| Sqrt | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Pnt2d.hxx:180, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf2d.hxx:215, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:366, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec2d.hxx: In member function ‘Standard_Boolean gp_Vec2d::IsNormal(const gp_Vec2d&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec2d.hxx:101:38: error: ‘M_PI_2’ was not declared in this scope | |
101 | const Standard_Real anAng = Abs (M_PI_2 - Abs (Angle (theOther))); | |
| ^~~~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Vec2d.hxx:332, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt2d.hxx:180, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf2d.hxx:215, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:366, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In constructor ‘gp_Dir2d::gp_Dir2d(const gp_Vec2d&)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:259:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
259 | Standard_Real aD = sqrt (aX * aX + anY * anY); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In constructor ‘gp_Dir2d::gp_Dir2d(const gp_XY&)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:273:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
273 | Standard_Real aD = sqrt (aX * aX + anY * anY); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In constructor ‘gp_Dir2d::gp_Dir2d(Standard_Real, Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:286:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
286 | Standard_Real aD = sqrt (theXv * theXv + theYv * theYv); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘void gp_Dir2d::SetCoord(Standard_Integer, Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:310:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
310 | Standard_Real aD = sqrt (aX * aX + anY * anY); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘void gp_Dir2d::SetCoord(Standard_Real, Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:323:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
323 | Standard_Real aD = sqrt (theXv * theXv + theYv * theYv); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘void gp_Dir2d::SetX(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:336:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
336 | Standard_Real aD = sqrt (theX * theX + anY * anY); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘void gp_Dir2d::SetY(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:349:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
349 | Standard_Real aD = sqrt (aX * aX + theY * theY); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘void gp_Dir2d::SetXY(const gp_XY&)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:363:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
363 | Standard_Real aD = sqrt (aX * aX + anY * anY); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘Standard_Boolean gp_Dir2d::IsNormal(const gp_Dir2d&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:396:11: error: ‘M_PI’ was not declared in this scope | |
396 | anAng = M_PI / 2.0 - anAng; | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘Standard_Boolean gp_Dir2d::IsOpposite(const gp_Dir2d&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:416:10: error: ‘M_PI’ was not declared in this scope | |
416 | return M_PI - anAng <= theAngularTolerance; | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx: In member function ‘Standard_Boolean gp_Dir2d::IsParallel(const gp_Dir2d&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir2d.hxx:431:42: error: ‘M_PI’ was not declared in this scope | |
431 | return anAng <= theAngularTolerance || M_PI - anAng <= theAngularTolerance; | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Pnt2d.hxx:180, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf2d.hxx:215, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:366, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec2d.hxx: In member function ‘Standard_Boolean gp_Vec2d::IsOpposite(const gp_Vec2d&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec2d.hxx:365:10: error: ‘M_PI’ was not declared in this scope | |
365 | return M_PI - anAng <= theAngularTolerance; | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/gp_Vec2d.hxx: In member function ‘Standard_Boolean gp_Vec2d::IsParallel(const gp_Vec2d&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec2d.hxx:379:42: error: ‘M_PI’ was not declared in this scope | |
379 | return anAng <= theAngularTolerance || M_PI - anAng <= theAngularTolerance; | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Trsf2d.hxx:215, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:366, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Pnt2d.hxx: In member function ‘Standard_Real gp_Pnt2d::Distance(const gp_Pnt2d&) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Pnt2d.hxx:192:10: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
192 | return sqrt (aX * aX + aY * aY); | |
| ^~~~ | |
| Sqrt | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:367, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec.hxx: In member function ‘Standard_Boolean gp_Vec::IsOpposite(const gp_Vec&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec.hxx:126:27: error: ‘M_PI’ was not declared in this scope | |
126 | Standard_Real anAng = M_PI - Angle (theOther); | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/gp_Vec.hxx: In member function ‘Standard_Boolean gp_Vec::IsParallel(const gp_Vec&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec.hxx:139:44: error: ‘M_PI’ was not declared in this scope | |
139 | return anAng <= theAngularTolerance || M_PI - anAng <= theAngularTolerance; | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Vec.hxx:423, | |
from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:367, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘Standard_Boolean gp_Dir::IsNormal(const gp_Dir&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:128:27: error: ‘M_PI’ was not declared in this scope | |
128 | Standard_Real anAng = M_PI / 2.0 - Angle (theOther); | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘Standard_Boolean gp_Dir::IsOpposite(const gp_Dir&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:139:12: error: ‘M_PI’ was not declared in this scope | |
139 | return M_PI - Angle (theOther) <= theAngularTolerance; | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘Standard_Boolean gp_Dir::IsParallel(const gp_Dir&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:148:44: error: ‘M_PI’ was not declared in this scope | |
148 | return anAng <= theAngularTolerance || M_PI - anAng <= theAngularTolerance; | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In constructor ‘gp_Dir::gp_Dir(const gp_Vec&)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:295:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
295 | Standard_Real aD = sqrt (aX * aX + aY * aY + aZ * aZ); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In constructor ‘gp_Dir::gp_Dir(const gp_XYZ&)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:311:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
311 | Standard_Real aD = sqrt (aX * aX + aY * aY + aZ * aZ); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In constructor ‘gp_Dir::gp_Dir(Standard_Real, Standard_Real, Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:326:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
326 | Standard_Real aD = sqrt (theXv * theXv + theYv * theYv + theZv * theZv); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘void gp_Dir::SetCoord(Standard_Integer, Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:356:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
356 | Standard_Real aD = sqrt (aX * aX + aY * aY + aZ * aZ); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘void gp_Dir::SetCoord(Standard_Real, Standard_Real, Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:370:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
370 | Standard_Real aD = sqrt (theXv * theXv + theYv * theYv + theZv * theZv); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘void gp_Dir::SetX(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:385:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
385 | Standard_Real aD = sqrt (theX * theX + anY * anY + aZ * aZ); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘void gp_Dir::SetY(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:400:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
400 | Standard_Real aD = sqrt (aX * aX + theY * theY + aZ * aZ); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘void gp_Dir::SetZ(Standard_Real)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:415:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
415 | Standard_Real aD = sqrt (aX * aX + anY * anY + theZ * theZ); | |
| ^~~~ | |
| Sqrt | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx: In member function ‘void gp_Dir::SetXYZ(const gp_XYZ&)’: | |
/usr/local/occt_static_build/include/opencascade/gp_Dir.hxx:431:22: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
431 | Standard_Real aD = sqrt(aX * aX + anY * anY + aZ * aZ); | |
| ^~~~ | |
| Sqrt | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Trsf.hxx:367, | |
from /usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:250, | |
from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec.hxx: In member function ‘Standard_Boolean gp_Vec::IsNormal(const gp_Vec&, Standard_Real) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Vec.hxx:451:25: error: ‘M_PI’ was not declared in this scope | |
451 | Standard_Real anAng = M_PI / 2.0 - Angle (theOther); | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/gp_Ax1.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/gp_GTrsf.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx: In member function ‘Standard_Real gp_Pnt::Distance(const gp_Pnt&) const’: | |
/usr/local/occt_static_build/include/opencascade/gp_Pnt.hxx:265:10: error: ‘sqrt’ was not declared in this scope; did you mean ‘Sqrt’? | |
265 | return sqrt (aD); | |
| ^~~~ | |
| Sqrt | |
In file included from /usr/include/c++/9/algorithm:62, | |
from /usr/local/occt_static_build/include/opencascade/NCollection_Array1.hxx:28, | |
from /usr/local/occt_static_build/include/opencascade/TColStd_Array1OfByte.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/TColStd_HArray1OfByte.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_MarkerImage.hxx:21, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_Aspects.hxx:23, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_ClipPlane.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/include/c++/9/bits/stl_algo.h: In function ‘void std::random_shuffle(_RAIter, _RAIter)’: | |
/usr/include/c++/9/bits/stl_algo.h:4617:13: error: ‘rand’ is not a member of ‘std’; did you mean ‘rend’? | |
4617 | + std::rand() % ((__i - __first) + 1); | |
| ^~~~ | |
| rend | |
In file included from /usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx:23, | |
from /usr/local/occt_static_build/include/opencascade/Quantity_ColorRGBA.hxx:17, | |
from /usr/local/occt_static_build/include/opencascade/Image_PixMap.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_PBRMaterial.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_MaterialAspect.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_Aspects.hxx:24, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_ClipPlane.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/Standard_ShortReal.hxx: In function ‘Standard_ShortReal Abs(Standard_ShortReal)’: | |
/usr/local/occt_static_build/include/opencascade/Standard_ShortReal.hxx:44:17: error: ‘fabs’ was not declared in this scope | |
44 | { return float( fabs (Value) ) ; } | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/Quantity_ColorRGBA.hxx:17, | |
from /usr/local/occt_static_build/include/opencascade/Image_PixMap.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_PBRMaterial.hxx:18, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_MaterialAspect.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_Aspects.hxx:24, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_AspectFillArea3d.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_ClipPlane.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx: In static member function ‘static float Quantity_Color::Convert_LinearRGB_To_sRGB(float)’: | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx:278:12: error: ‘powf’ was not declared in this scope | |
278 | : powf (theLinearValue, 1.0f/2.4f) * 1.055f - 0.055f; | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx: In static member function ‘static float Quantity_Color::Convert_sRGB_To_LinearRGB(float)’: | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx:294:12: error: ‘powf’ was not declared in this scope | |
294 | : powf ((thesRGBValue + 0.055f) / 1.055f, 2.4f); | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx: In static member function ‘static float Quantity_Color::Convert_LinearRGB_To_sRGB_approx22(float)’: | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx:316:83: error: ‘powf’ was not declared in this scope | |
316 | RGB_To_sRGB_approx22 (float theLinearValue) { return powf (theLinearValue, 2.2f); } | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx: In static member function ‘static float Quantity_Color::Convert_sRGB_To_LinearRGB_approx22(float)’: | |
/usr/local/occt_static_build/include/opencascade/Quantity_Color.hxx:319:81: error: ‘powf’ was not declared in this scope | |
319 | _To_LinearRGB_approx22 (float thesRGBValue) { return powf (thesRGBValue, 1.0f/2.2f); } | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:23, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/Prs3d_Drawer.hxx: In member function ‘Standard_Real Prs3d_Drawer::DeviationAngle() const’: | |
/usr/local/occt_static_build/include/opencascade/Prs3d_Drawer.hxx:284:21: error: ‘M_PI’ was not declared in this scope | |
284 | : 20.0 * M_PI / 180.0); | |
| ^~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/Graphic3d_TransformPers.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_CStructure.hxx:23, | |
from /usr/local/occt_static_build/include/opencascade/Graphic3d_Structure.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/Prs3d_Presentation.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_Presentation.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/PrsMgr_PresentableObject.hxx:25, | |
from /usr/local/occt_static_build/include/opencascade/SelectMgr_SelectableObject.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveObject.hxx:22, | |
from /usr/local/occt_static_build/include/opencascade/AIS_DataMapOfIOStatus.hxx:20, | |
from /usr/local/occt_static_build/include/opencascade/AIS_InteractiveContext.hxx:20, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/usr/local/occt_static_build/include/opencascade/Graphic3d_TransformUtils.hxx: In function ‘void Graphic3d_TransformUtils::ConstructRotate(typename Graphic3d_TransformUtils::MatrixType<T>::Mat4&, T, T, T, T)’: | |
/usr/local/occt_static_build/include/opencascade/Graphic3d_TransformUtils.hxx:242:23: error: ‘sin’ is not a member of ‘std’; did you mean ‘min’? | |
242 | const T aSin = std::sin (theA * static_cast<T> (M_PI / 180.0)); | |
| ^~~ | |
| min | |
/usr/local/occt_static_build/include/opencascade/Graphic3d_TransformUtils.hxx:242:51: error: ‘M_PI’ was not declared in this scope | |
242 | const T aSin = std::sin (theA * static_cast<T> (M_PI / 180.0)); | |
| ^~~~ | |
/usr/local/occt_static_build/include/opencascade/Graphic3d_TransformUtils.hxx:243:23: error: ‘cos’ is not a member of ‘std’; did you mean ‘ios’? | |
243 | const T aCos = std::cos (theA * static_cast<T> (M_PI / 180.0)); | |
| ^~~ | |
| ios | |
/usr/local/occt_static_build/include/opencascade/Graphic3d_TransformUtils.hxx:312:18: error: ‘sqrt’ is not a member of ‘std’; did you mean ‘sort’? | |
312 | T aNorm = std::sqrt (theX * theX + theY * theY + theZ * theZ); | |
| ^~~~ | |
| sort | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten.h:1, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:29, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h: At global scope: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:35:70: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
35 | run_script(const char *script __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:36:73: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
36 | script_int(const char *script __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:37:78: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
37 | ipt_string(const char *script __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:38:76: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
38 | nc_run_script(const char *script __attribute__((nonnull)), int millis); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:39:77: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
39 | oad_script(const char *script __attribute__((nonnull)), em_callback_func onload, em_callback_func onerror); | |
| ^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten.h:1, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:29, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:82:67: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
82 | en_get_screen_size(int *width __attribute__((nonnull)), int *height __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:82:105: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
82 | ute__((nonnull)), int *height __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:84:194: error: wrong number of arguments specified for ‘deprecated’ attribute | |
84 | "Use emscripten_set_canvas_element_size() instead"))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:85:67: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
85 | en_get_canvas_size(int *width __attribute__((nonnull)), int *height __attribute__((nonnull)), int *isFullscreen __attribute__((nonnull))) __attribute__((deprecated("This variant does not allow specifying the target canvas", "Use emscripten_get_canvas_element_size() and emscripten_get_fullscreen_status() instead"))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:85:105: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
85 | ute__((nonnull)), int *height __attribute__((nonnull)), int *isFullscreen __attribute__((nonnull))) __attribute__((deprecated("This variant does not allow specifying the target canvas", "Use emscripten_get_canvas_element_size() and emscripten_get_fullscreen_status() instead"))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:85:149: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
85 | (nonnull)), int *isFullscreen __attribute__((nonnull))) __attribute__((deprecated("This variant does not allow specifying the target canvas", "Use emscripten_get_canvas_element_size() and emscripten_get_fullscreen_status() instead"))); | |
| ^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten.h:1, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:29, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:85:329: error: wrong number of arguments specified for ‘deprecated’ attribute | |
85 | e() and emscripten_get_fullscreen_status() instead"))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:93:75: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
93 | sync_load(const char *db_name __attribute__((nonnull)), const char *file_id __attribute__((nonnull)), void* arg, em_idb_onload_func onload, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:93:121: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
93 | onnull)), const char *file_id __attribute__((nonnull)), void* arg, em_idb_onload_func onload, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:94:76: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
94 | ync_store(const char *db_name __attribute__((nonnull)), const char *file_id __attribute__((nonnull)), void* ptr, int num, void* arg, em_arg_callback_func onstore, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:94:122: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
94 | onnull)), const char *file_id __attribute__((nonnull)), void* ptr, int num, void* arg, em_arg_callback_func onstore, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:95:77: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
95 | nc_delete(const char *db_name __attribute__((nonnull)), const char *file_id __attribute__((nonnull)), void* arg, em_arg_callback_func ondelete, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:95:123: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
95 | onnull)), const char *file_id __attribute__((nonnull)), void* arg, em_arg_callback_func ondelete, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:97:77: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
97 | nc_exists(const char *db_name __attribute__((nonnull)), const char *file_id __attribute__((nonnull)), void* arg, em_idb_exists_func oncheck, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:97:123: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
97 | onnull)), const char *file_id __attribute__((nonnull)), void* arg, em_idb_exists_func oncheck, em_arg_callback_func onerror); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/emscripten.h:98:76: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
98 | ync_clear(const char *db_name __attribute__((nonnull)), void* arg, em_arg_callback_func onclear, em_arg_callback_func onerror); | |
| ^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:18, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:30, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:16:75: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
16 | le_log(const char *utf8String __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:17:76: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
17 | e_warn(const char *utf8String __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:18:77: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
18 | _error(const char *utf8String __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:27:67: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
27 | void emscripten_out(const char *utf8String __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:28:67: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
28 | void emscripten_err(const char *utf8String __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:29:67: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
29 | void emscripten_dbg(const char *utf8String __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:33:68: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
33 | pten_outn(const char *utf8String __attribute__((nonnull)), size_t len); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:34:68: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
34 | pten_errn(const char *utf8String __attribute__((nonnull)), size_t len); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:35:68: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
35 | pten_dbgn(const char *utf8String __attribute__((nonnull)), size_t len); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:43:72: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
43 | nsole_logf(const char *format __attribute__((nonnull)), ...) __attribute__((__format__(printf, 1, 2))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:44:73: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
44 | sole_warnf(const char *format __attribute__((nonnull)), ...) __attribute__((__format__(printf, 1, 2))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:45:74: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
45 | ole_errorf(const char *format __attribute__((nonnull)), ...)__attribute__((__format__(printf, 1, 2))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:46:64: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
46 | ipten_outf(const char *format __attribute__((nonnull)), ...) __attribute__((__format__(printf, 1, 2))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:47:64: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
47 | ipten_errf(const char *format __attribute__((nonnull)), ...) __attribute__((__format__(printf, 1, 2))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/console.h:48:64: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
48 | ipten_dbgf(const char *format __attribute__((nonnull)), ...) __attribute__((__format__(printf, 1, 2))); | |
| ^ | |
In file included from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:30, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:106:119: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
106 | riptenKeyboardEvent *keyEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
In file included from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:30, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:107:104: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
107 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_key_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:108:103: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
108 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_key_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:109:101: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
109 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_key_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:134:120: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
134 | criptenMouseEvent *mouseEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:135:101: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
135 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:136:105: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
136 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:137:103: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
137 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:138:104: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
138 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:139:105: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
139 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:140:106: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
140 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:141:106: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
141 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:142:105: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
142 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:143:104: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
143 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_mouse_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:145:103: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
145 | criptenMouseEvent *mouseState __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:160:120: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
160 | criptenWheelEvent *wheelEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:161:101: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
161 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_wheel_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:176:111: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
176 | st EmscriptenUiEvent *uiEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:177:102: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
177 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_ui_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:178:102: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
178 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_ui_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:185:120: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
185 | criptenFocusEvent *focusEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:186:100: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
186 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_focus_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:187:101: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
187 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_focus_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:188:103: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
188 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_focus_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:189:104: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
189 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_focus_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:199:156: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
199 | Event *deviceOrientationEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:202:133: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
202 | tationEvent *orientationState __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:222:141: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
222 | otionEvent *deviceMotionEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:225:118: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
225 | eviceMotionEvent *motionState __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:239:156: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
239 | Event *orientationChangeEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:242:128: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
242 | hangeEvent *orientationStatus __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:258:153: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
258 | eEvent *fullscreenChangeEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:261:125: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
261 | ChangeEvent *fullscreenStatus __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:290:91: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
290 | fullscreen(const char *target __attribute__((nonnull)), EM_BOOL deferUntilInEventHandler); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:291:100: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
291 | n_strategy(const char *target __attribute__((nonnull)), EM_BOOL deferUntilInEventHandler, const EmscriptenFullscreenStrategy *fullscreenStrategy __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:291:215: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
291 | nStrategy *fullscreenStrategy __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:295:94: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
295 | fullscreen(const char *target __attribute__((nonnull)), const EmscriptenFullscreenStrategy *fullscreenStrategy __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:295:175: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
295 | nStrategy *fullscreenStrategy __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:306:156: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
306 | Event *pointerlockChangeEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:307:113: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
307 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_pointerlockchange_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:310:112: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
310 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_pointerlockerror_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:312:128: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
312 | hangeEvent *pointerlockStatus __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:314:92: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
314 | ointerlock(const char *target __attribute__((nonnull)), EM_BOOL deferUntilInEventHandler); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:328:153: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
328 | eEvent *visibilityChangeEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:331:125: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
331 | ChangeEvent *visibilityStatus __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:363:120: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
363 | criptenTouchEvent *touchEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:364:106: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
364 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_touch_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:365:104: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
365 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_touch_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:366:105: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
366 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_touch_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:367:107: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
367 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_touch_callback_func callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:384:126: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
384 | tenGamepadEvent *gamepadEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:390:120: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
390 | tenGamepadEvent *gamepadState __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:399:126: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
399 | tenBatteryEvent *batteryEvent __attribute__((nonnull)), void *userData); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:403:109: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
403 | tenBatteryEvent *batteryState __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:407:85: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
407 | brate_pattern(int *msecsArray __attribute__((nonnull)), int numEntries); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:413:96: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
413 | ement_size(const char *target __attribute__((nonnull)), int width, int height); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:416:96: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
416 | ement_size(const char *target __attribute__((nonnull)), int *width, int *height); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:418:93: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
418 | t_css_size(const char *target __attribute__((nonnull)), double width, double height); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:419:93: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
419 | t_css_size(const char *target __attribute__((nonnull)), double *width, double *height); | |
| ^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:477, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:30, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:48:115: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
48 | ContextAttributes *attributes __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:50:107: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
50 | te_context(const char *target __attribute__((nonnull)), const EmscriptenWebGLContextAttributes * _Nonnull attributes); | |
| ^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5.h:477, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.h:30, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:22: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:50:160: error: expected ‘,’ or ‘...’ before ‘attributes’ | |
50 | nnull)), const EmscriptenWebGLContextAttributes * _Nonnull attributes); | |
| ^~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:56:135: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
56 | XT_HANDLE context, int *width __attribute__((nonnull)), int *height __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:56:173: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
56 | ute__((nonnull)), int *height __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:58:171: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
58 | textAttributes *outAttributes __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:62:129: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
62 | ontext, const char *extension __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:77:112: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
77 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_webgl_context_callback callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:78:116: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
78 | _on_thread(const char *target __attribute__((nonnull)), void *userData, EM_BOOL useCapture, em_webgl_context_callback callback, pthread_t targetThread); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:89:82: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
89 | proc_address(const char *name __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:94:82: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
94 | proc_address(const char *name __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:97:81: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
97 | proc_address(const char *name __attribute__((nonnull))); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:153:100: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
153 | ndex, GLenum param, void *dst __attribute__((nonnull)), int dstLength, EMSCRIPTEN_WEBGL_PARAM_TYPE dstType); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:166:98: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
166 | gram, int location, void *dst __attribute__((nonnull)), int dstLength, EMSCRIPTEN_WEBGL_PARAM_TYPE dstType); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:174:85: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
174 | ter_v(GLenum param, void *dst __attribute__((nonnull)), int dstLength, EMSCRIPTEN_WEBGL_PARAM_TYPE dstType); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/html5_webgl.h:195:92: warning: ‘nonnull’ attribute only applies to function types [-Wattributes] | |
195 | 4v(GLenum param, GLint64 *dst __attribute__((nonnull))); | |
| ^ | |
In file included from /usr/local/occt_static_build/include/opencascade/OpenGl_GraphicDriver.hxx:25, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:32: | |
/usr/local/occt_static_build/include/opencascade/OpenGl_Context.hxx: In member function ‘void OpenGl_Context::SetResolutionRatio(Standard_ShortReal)’: | |
/usr/local/occt_static_build/include/opencascade/OpenGl_Context.hxx:964:41: error: ‘floor’ is not a member of ‘std’ | |
964 | myLineWidthScale = Max (1.0f, std::floor (theRatio + 0.5f)); | |
| ^~~~~ | |
In file included from /usr/local/occt_static_build/include/opencascade/Message_ProgressIndicator.hxx:156, | |
from /usr/local/occt_static_build/include/opencascade/Message_ProgressRange.hxx:111, | |
from /usr/local/occt_static_build/include/opencascade/BRepTools.hxx:29, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:40: | |
/usr/local/occt_static_build/include/opencascade/Message_ProgressScope.hxx: In member function ‘Standard_Real Message_ProgressScope::Value() const’: | |
/usr/local/occt_static_build/include/opencascade/Message_ProgressScope.hxx:631:15: error: ‘ceil’ is not a member of ‘std’ | |
631 | return std::ceil (myMax * aVal / (myIsInfinite ? aDist : myPortion) - Precision::Confusion()); | |
| ^~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:17, | |
from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h: In static member function ‘static constexpr const void* emscripten::internal::LightTypeID<T>::get()’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:71:27: error: static assertion failed: Unbound type names are illegal with RTTI disabled. Either add -DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0 to or remove -fno-rtti from the compiler arguments | |
71 | static_assert(!has_unbound_type_names, | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h: In function ‘constexpr const void* emscripten::internal::getLightTypeID(const T&)’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:89:23: error: static assertion failed: Unbound type names are illegal with RTTI disabled. Either add -DEMSCRIPTEN_HAS_UNBOUND_TYPE_NAMES=0 to or remove -fno-rtti from the compiler arguments | |
89 | static_assert(!has_unbound_type_names, | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:17, | |
from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h: At global scope: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:250:8: error: redefinition of ‘struct emscripten::internal::BindingType<long int>’ | |
250 | struct BindingType<type> { \ | |
| ^~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:271:1: note: in expansion of macro ‘EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE’ | |
271 | EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE(int64_t); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:250:8: note: previous definition of ‘struct emscripten::internal::BindingType<long int>’ | |
250 | struct BindingType<type> { \ | |
| ^~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:267:1: note: in expansion of macro ‘EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE’ | |
267 | EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE(signed long); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:250:8: error: redefinition of ‘struct emscripten::internal::BindingType<long unsigned int>’ | |
250 | struct BindingType<type> { \ | |
| ^~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:272:1: note: in expansion of macro ‘EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE’ | |
272 | EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE(uint64_t); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:250:8: note: previous definition of ‘struct emscripten::internal::BindingType<long unsigned int>’ | |
250 | struct BindingType<type> { \ | |
| ^~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/wire.h:268:1: note: in expansion of macro ‘EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE’ | |
268 | EMSCRIPTEN_DEFINE_NATIVE_BINDING_TYPE(unsigned long); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:575:12: error: explicit specialization in non-namespace scope ‘class emscripten::val’ | |
575 | template<> | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:576:25: error: template-id ‘as<int64_t>’ in declaration of primary template | |
576 | int64_t as<int64_t>() const { | |
| ^~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:585:12: error: explicit specialization in non-namespace scope ‘class emscripten::val’ | |
585 | template<> | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:586:27: error: template-id ‘as<uint64_t>’ in declaration of primary template | |
586 | uint64_t as<uint64_t>() const { | |
| ^~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:586:12: error: ‘uint64_t emscripten::val::as() const’ cannot be overloaded with ‘int64_t emscripten::val::as() const’ | |
586 | uint64_t as<uint64_t>() const { | |
| ^~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:576:11: note: previous declaration ‘int64_t emscripten::val::as() const’ | |
576 | int64_t as<int64_t>() const { | |
| ^~~~~~~~~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:624:10: error: too many template-parameter-lists | |
624 | struct iterator; | |
| ^~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:626:3: error: ‘iterator’ does not name a type; did you mean ‘operator/’? | |
626 | iterator begin() const; | |
| ^~~~~~~~ | |
| operator/ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:628:13: error: ‘nullptr_t’ does not name a type | |
628 | constexpr nullptr_t end() const { return nullptr; } | |
| ^~~~~~~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:18:1: note: ‘nullptr_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? | |
17 | #include <emscripten/wire.h> | |
+++ |+#include <cstddef> | |
18 | #include <cstdint> // uintptr_t | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:650:14: error: too many template-parameter-lists | |
650 | friend val internal::wrapped_extend(const std::string& , const val& ); | |
| ^~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:653:7: error: too many template-parameter-lists | |
653 | Ret internalCall(Implementation impl, Args&&... args) const { | |
| ^~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:668:7: error: too many template-parameter-lists | |
668 | val val_ref(const T& v) const { | |
| ^~~~~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: In static member function ‘static emscripten::val emscripten::val::array(const std::vector<T>&)’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:325:8: warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17’ | |
325 | if constexpr (internal::typeSupportsMemoryView<T>()) { | |
| ^~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: In member function ‘emscripten::val emscripten::val::new_(Args&& ...) const’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:513:12: error: ‘internalCall’ was not declared in this scope; did you mean ‘internal’? | |
513 | return internalCall<EM_METHOD_CALLER_KIND::CONSTRUCTOR, val>(_emval_call, std::forward<Args>(args)...); | |
| ^~~~~~~~~~~~ | |
| internal | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:513:64: error: expected primary-expression before ‘>’ token | |
513 | internalCall<EM_METHOD_CALLER_KIND::CONSTRUCTOR, val>(_emval_call, std::forward<Args>(args)...); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:513:106: error: expected binary operator before ‘)’ token | |
513 | RUCTOR, val>(_emval_call, std::forward<Args>(args)...); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: In member function ‘emscripten::val emscripten::val::operator()(Args&& ...) const’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:520:12: error: ‘internalCall’ was not declared in this scope; did you mean ‘internal’? | |
520 | return internalCall<EM_METHOD_CALLER_KIND::FUNCTION, val>(_emval_call, std::forward<Args>(args)...); | |
| ^~~~~~~~~~~~ | |
| internal | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:520:61: error: expected primary-expression before ‘>’ token | |
520 | urn internalCall<EM_METHOD_CALLER_KIND::FUNCTION, val>(_emval_call, std::forward<Args>(args)...); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:520:103: error: expected binary operator before ‘)’ token | |
520 | NCTION, val>(_emval_call, std::forward<Args>(args)...); | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: In member function ‘ReturnValue emscripten::val::call(const char*, Args&& ...) const’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:527:12: error: ‘internalCall’ was not declared in this scope; did you mean ‘internal’? | |
527 | return internalCall<EM_METHOD_CALLER_KIND::FUNCTION, ReturnValue>( | |
| ^~~~~~~~~~~~ | |
| internal | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:527:69: error: expected primary-expression before ‘>’ token | |
527 | return internalCall<EM_METHOD_CALLER_KIND::FUNCTION, ReturnValue>( | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:534:34: error: expected binary operator before ‘)’ token | |
534 | std::forward<Args>(args)...); | |
| ^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: At global scope: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:682:22: error: qualified name does not name a class before ‘{’ token | |
682 | struct val::iterator { | |
| ^ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:699:13: error: ‘iterator’ in ‘class emscripten::val’ does not name a type | |
699 | inline val::iterator val::begin() const { | |
| ^~~~~~~~ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: In instantiation of ‘emscripten::val emscripten::val::operator[](const T&) const [with T = char [10]]’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:427:45: required from here | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:496:72: error: cannot convert ‘const char [10]’ to ‘const emscripten::val&’ | |
496 | (internal::_emval_get_property(as_handle(), val_ref(key).as_handle())); | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:672:33: note: initializing argument 1 of ‘const emscripten::val& emscripten::val::val_ref(const emscripten::val&) const’ | |
672 | const val& val_ref(const val& v) const { | |
| ~~~~~~~~~~~^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: In instantiation of ‘emscripten::val emscripten::val::operator[](const T&) const [with T = char [15]]’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:427:63: required from here | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:496:72: error: cannot convert ‘const char [15]’ to ‘const emscripten::val&’ | |
496 | (internal::_emval_get_property(as_handle(), val_ref(key).as_handle())); | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:672:33: note: initializing argument 1 of ‘const emscripten::val& emscripten::val::val_ref(const emscripten::val&) const’ | |
672 | const val& val_ref(const val& v) const { | |
| ~~~~~~~~~~~^ | |
In file included from /home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:26, | |
from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h: In instantiation of ‘ReturnValue emscripten::val::call(const char*, Args&& ...) const [with ReturnValue = bool; Args = {const emscripten::val&, emscripten::val}]’: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:427:99: required from here | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/val.h:535:3: warning: no return statement in function returning non-void [-Wreturn-type] | |
535 | } | |
| ^ | |
In file included from /home/alfredo/builds/OCCT/samples/webgl/WasmOcctView.cpp:43: | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:557:38: warning: always_inline function might not be inlinable [-Wattributes] | |
557 | EMSCRIPTEN_ALWAYS_INLINE const char* getSpecificSignature() { | |
| ^~~~~~~~~~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:557:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:557:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:557:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:557:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:557:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:562:38: warning: always_inline function might not be inlinable [-Wattributes] | |
562 | EMSCRIPTEN_ALWAYS_INLINE const char* getSignature(Return (*)(Args...)) { | |
| ^~~~~~~~~~~~ | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:562:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:562:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:562:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:562:38: warning: always_inline function might not be inlinable [-Wattributes] | |
/home/alfredo/builds/emscripten/cache/sysroot/include/emscripten/bind.h:562:38: warning: always_inline function might not be inlinable [-Wattributes] | |
make[2]: *** [CMakeFiles/occt-webgl-sample.dir/build.make:76: CMakeFiles/occt-webgl-sample.dir/WasmOcctView.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/occt-webgl-sample.dir/all] Error 2 | |
make: *** [Makefile:136: all] Error 2 | |
alfredo@alfredo-ThinkPad-T440p:~/builds/OCCT/samples/webgl/build$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment