Temporary header file '/tmp/LlGgukGZE9/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/filament-1.9/backend/BufferDescriptor.h" #include "/usr/include/filament-1.9/backend/DriverEnums.h" #include "/usr/include/filament-1.9/backend/Handle.h" #include "/usr/include/filament-1.9/backend/PipelineState.h" #include "/usr/include/filament-1.9/backend/PixelBufferDescriptor.h" #include "/usr/include/filament-1.9/backend/Platform.h" #include "/usr/include/filament-1.9/backend/PresentCallable.h" #include "/usr/include/filament-1.9/backend/TargetBufferInfo.h" #include "/usr/include/filament-1.9/camutils/Bookmark.h" #include "/usr/include/filament-1.9/camutils/Manipulator.h" #include "/usr/include/filament-1.9/filaflat/BlobDictionary.h" #include "/usr/include/filament-1.9/filaflat/ChunkContainer.h" #include "/usr/include/filament-1.9/filaflat/DictionaryReader.h" #include "/usr/include/filament-1.9/filaflat/MaterialChunk.h" #include "/usr/include/filament-1.9/filaflat/ShaderBuilder.h" #include "/usr/include/filament-1.9/filaflat/Unflattener.h" #include "/usr/include/filament-1.9/filagui/ImGuiExtensions.h" #include "/usr/include/filament-1.9/filagui/ImGuiHelper.h" #include "/usr/include/filament-1.9/filagui/ImGuiMath.h" #include "/usr/include/filament-1.9/filamat/Enums.h" #include "/usr/include/filament-1.9/filamat/IncludeCallback.h" #include "/usr/include/filament-1.9/filamat/MaterialBuilder.h" #include "/usr/include/filament-1.9/filamat/Package.h" #include "/usr/include/filament-1.9/filament/Box.h" #include "/usr/include/filament-1.9/filament/BufferObject.h" #include "/usr/include/filament-1.9/filament/Camera.h" #include "/usr/include/filament-1.9/filament/Color.h" #include "/usr/include/filament-1.9/filament/ColorGrading.h" #include "/usr/include/filament-1.9/filament/DebugRegistry.h" #include "/usr/include/filament-1.9/filament/Engine.h" #include "/usr/include/filament-1.9/filament/Exposure.h" #include "/usr/include/filament-1.9/filament/Fence.h" #include "/usr/include/filament-1.9/filament/FilamentAPI.h" #include "/usr/include/filament-1.9/filament/Frustum.h" #include "/usr/include/filament-1.9/filament/IndexBuffer.h" #include "/usr/include/filament-1.9/filament/IndirectLight.h" #include "/usr/include/filament-1.9/filament/LightManager.h" #include "/usr/include/filament-1.9/filament/Material.h" #include "/usr/include/filament-1.9/filament/MaterialChunkType.h" #include "/usr/include/filament-1.9/filament/MaterialEnums.h" #include "/usr/include/filament-1.9/filament/MaterialInstance.h" #include "/usr/include/filament-1.9/filament/RenderTarget.h" #include "/usr/include/filament-1.9/filament/RenderableManager.h" #include "/usr/include/filament-1.9/filament/Renderer.h" #include "/usr/include/filament-1.9/filament/Scene.h" #include "/usr/include/filament-1.9/filament/Skybox.h" #include "/usr/include/filament-1.9/filament/Stream.h" #include "/usr/include/filament-1.9/filament/SwapChain.h" #include "/usr/include/filament-1.9/filament/Texture.h" #include "/usr/include/filament-1.9/filament/TextureSampler.h" #include "/usr/include/filament-1.9/filament/TransformManager.h" #include "/usr/include/filament-1.9/filament/VertexBuffer.h" #include "/usr/include/filament-1.9/filament/View.h" #include "/usr/include/filament-1.9/filament/Viewport.h" #include "/usr/include/filament-1.9/filament-iblprefilter/IBLPrefilterContext.h" #include "/usr/include/filament-1.9/filameshio/MeshReader.h" #include "/usr/include/filament-1.9/geometry/SurfaceOrientation.h" #include "/usr/include/filament-1.9/geometry/Transcoder.h" #include "/usr/include/filament-1.9/gltfio/Animator.h" #include "/usr/include/filament-1.9/gltfio/AssetLoader.h" #include "/usr/include/filament-1.9/gltfio/FilamentAsset.h" #include "/usr/include/filament-1.9/gltfio/FilamentInstance.h" #include "/usr/include/filament-1.9/gltfio/MaterialProvider.h" #include "/usr/include/filament-1.9/gltfio/ResourceLoader.h" #include "/usr/include/filament-1.9/ibl/Cubemap.h" #include "/usr/include/filament-1.9/ibl/CubemapIBL.h" #include "/usr/include/filament-1.9/ibl/CubemapSH.h" #include "/usr/include/filament-1.9/ibl/CubemapUtils.h" #include "/usr/include/filament-1.9/ibl/Image.h" #include "/usr/include/filament-1.9/ibl/utilities.h" #include "/usr/include/filament-1.9/image/ColorTransform.h" #include "/usr/include/filament-1.9/image/ImageOps.h" #include "/usr/include/filament-1.9/image/ImageSampler.h" #include "/usr/include/filament-1.9/image/KtxBundle.h" #include "/usr/include/filament-1.9/image/KtxUtility.h" #include "/usr/include/filament-1.9/image/LinearImage.h" #include "/usr/include/filament-1.9/imageio/BlockCompression.h" #include "/usr/include/filament-1.9/imageio/ImageDecoder.h" #include "/usr/include/filament-1.9/imageio/ImageDiffer.h" #include "/usr/include/filament-1.9/imageio/ImageEncoder.h" #include "/usr/include/filament-1.9/matdbg/DebugServer.h" #include "/usr/include/filament-1.9/matdbg/JsonWriter.h" #include "/usr/include/filament-1.9/matdbg/ShaderExtractor.h" #include "/usr/include/filament-1.9/matdbg/ShaderInfo.h" #include "/usr/include/filament-1.9/matdbg/ShaderReplacer.h" #include "/usr/include/filament-1.9/matdbg/TextWriter.h" #include "/usr/include/filament-1.9/math/TMatHelpers.h" #include "/usr/include/filament-1.9/math/TQuatHelpers.h" #include "/usr/include/filament-1.9/math/TVecHelpers.h" #include "/usr/include/filament-1.9/math/compiler.h" #include "/usr/include/filament-1.9/math/fast.h" #include "/usr/include/filament-1.9/math/half.h" #include "/usr/include/filament-1.9/math/mat2.h" #include "/usr/include/filament-1.9/math/mat3.h" #include "/usr/include/filament-1.9/math/mat4.h" #include "/usr/include/filament-1.9/math/mathfwd.h" #include "/usr/include/filament-1.9/math/norm.h" #include "/usr/include/filament-1.9/math/quat.h" #include "/usr/include/filament-1.9/math/scalar.h" #include "/usr/include/filament-1.9/math/vec2.h" #include "/usr/include/filament-1.9/math/vec3.h" #include "/usr/include/filament-1.9/math/vec4.h" #include "/usr/include/filament-1.9/mathio/ostream.h" #include "/usr/include/filament-1.9/utils/Allocator.h" #include "/usr/include/filament-1.9/utils/BitmaskEnum.h" #include "/usr/include/filament-1.9/utils/CString.h" #include "/usr/include/filament-1.9/utils/Entity.h" #include "/usr/include/filament-1.9/utils/EntityInstance.h" #include "/usr/include/filament-1.9/utils/EntityManager.h" #include "/usr/include/filament-1.9/utils/Log.h" #include "/usr/include/filament-1.9/utils/Mutex.h" #include "/usr/include/filament-1.9/utils/NameComponentManager.h" #include "/usr/include/filament-1.9/utils/Path.h" #include "/usr/include/filament-1.9/utils/SingleInstanceComponentManager.h" #include "/usr/include/filament-1.9/utils/Slice.h" #include "/usr/include/filament-1.9/utils/SpinLock.h" #include "/usr/include/filament-1.9/utils/StructureOfArrays.h" #include "/usr/include/filament-1.9/utils/ThreadLocal.h" #include "/usr/include/filament-1.9/utils/algorithm.h" #include "/usr/include/filament-1.9/utils/bitset.h" #include "/usr/include/filament-1.9/utils/compiler.h" #include "/usr/include/filament-1.9/utils/debug.h" #include "/usr/include/filament-1.9/utils/linux/Mutex.h" #include "/usr/include/filament-1.9/utils/memalign.h" #include "/usr/include/filament-1.9/utils/ostream.h" #include "/usr/include/filament-1.9/utils/unwindows.h" #include "/usr/include/filament-1.9/viewer/AutomationEngine.h" #include "/usr/include/filament-1.9/viewer/AutomationSpec.h" #include "/usr/include/filament-1.9/viewer/RemoteServer.h" #include "/usr/include/filament-1.9/viewer/Settings.h" #include "/usr/include/filament-1.9/viewer/SimpleViewer.h" // add namespaces namespace filaflat{typedef int tmp_add_type_1;} filaflat::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace filagui{typedef int tmp_add_type_2;} filagui::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace filamat{typedef int tmp_add_type_3;} filamat::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace filament{typedef int tmp_add_type_4;} filament::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace filament{namespace backend{typedef int tmp_add_type_5;}} filament::backend::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace filament{namespace camutils{typedef int tmp_add_type_6;}} filament::camutils::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace filament{namespace Exposure{typedef int tmp_add_type_7;}} filament::Exposure::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace filament{namespace geometry{typedef int tmp_add_type_8;}} filament::geometry::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace filament{namespace ibl{typedef int tmp_add_type_9;}} filament::ibl::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace filament{namespace matdbg{typedef int tmp_add_type_10;}} filament::matdbg::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace filament{namespace math{typedef int tmp_add_type_11;}} filament::math::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace filament{namespace math{namespace d{typedef int tmp_add_type_12;}}} filament::math::d::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace filament{namespace math{namespace details{typedef int tmp_add_type_13;}}} filament::math::details::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace filament{namespace math{namespace details{namespace matrix{typedef int tmp_add_type_14;}}}} filament::math::details::matrix::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace filament{namespace math{namespace f{typedef int tmp_add_type_15;}}} filament::math::f::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace filament{namespace math{namespace fast{typedef int tmp_add_type_16;}}} filament::math::fast::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace filament{namespace viewer{typedef int tmp_add_type_17;}} filament::viewer::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace filamesh{typedef int tmp_add_type_18;} filamesh::tmp_add_type_18 tmp_add_func_18(){return 0;}; namespace gltfio{typedef int tmp_add_type_19;} gltfio::tmp_add_type_19 tmp_add_func_19(){return 0;}; namespace image{typedef int tmp_add_type_20;} image::tmp_add_type_20 tmp_add_func_20(){return 0;}; namespace image{namespace ktx{typedef int tmp_add_type_21;}} image::ktx::tmp_add_type_21 tmp_add_func_21(){return 0;}; namespace ImGui{typedef int tmp_add_type_22;} ImGui::tmp_add_type_22 tmp_add_func_22(){return 0;}; namespace ImGuiExt{typedef int tmp_add_type_23;} ImGuiExt::tmp_add_type_23 tmp_add_func_23(){return 0;}; namespace tsl{typedef int tmp_add_type_24;} tsl::tmp_add_type_24 tmp_add_func_24(){return 0;}; namespace tsl{namespace rh{typedef int tmp_add_type_25;}} tsl::rh::tmp_add_type_25 tmp_add_func_25(){return 0;}; namespace tsl{namespace rh{namespace detail{typedef int tmp_add_type_26;}}} tsl::rh::detail::tmp_add_type_26 tmp_add_func_26(){return 0;}; namespace utils{typedef int tmp_add_type_27;} utils::tmp_add_type_27 tmp_add_func_27(){return 0;}; namespace utils{namespace details{typedef int tmp_add_type_28;}} utils::details::tmp_add_type_28 tmp_add_func_28(){return 0;}; namespace utils{namespace io{typedef int tmp_add_type_29;}} utils::io::tmp_add_type_29 tmp_add_func_29(){return 0;}; namespace utils{namespace LockingPolicy{typedef int tmp_add_type_30;}} utils::LockingPolicy::tmp_add_type_30 tmp_add_func_30(){return 0;}; namespace utils{namespace pointermath{typedef int tmp_add_type_31;}} utils::pointermath::tmp_add_type_31 tmp_add_func_31(){return 0;}; namespace utils{namespace TrackingPolicy{typedef int tmp_add_type_32;}} utils::TrackingPolicy::tmp_add_type_32 tmp_add_func_32(){return 0;}; namespace tsl{namespace detail_robin_hash{typedef int tmp_add_type_33;}} tsl::detail_robin_hash::tmp_add_type_33 tmp_add_func_33(){return 0;}; // add classes IBLPrefilterContext* tmp_add_class_0; ImColor* tmp_add_class_1; ImDrawChannel* tmp_add_class_2; ImDrawCmd* tmp_add_class_3; ImDrawCmdHeader* tmp_add_class_4; ImDrawData* tmp_add_class_5; ImDrawList* tmp_add_class_6; ImDrawListSplitter* tmp_add_class_7; ImDrawVert* tmp_add_class_8; ImFont* tmp_add_class_9; ImFontAtlas* tmp_add_class_10; ImFontAtlasCustomRect* tmp_add_class_11; ImFontConfig* tmp_add_class_12; ImFontGlyph* tmp_add_class_13; ImFontGlyphRangesBuilder* tmp_add_class_14; ImGuiIO* tmp_add_class_15; ImGuiInputTextCallbackData* tmp_add_class_16; ImGuiListClipper* tmp_add_class_17; ImGuiOnceUponAFrame* tmp_add_class_18; ImGuiPayload* tmp_add_class_19; ImGuiSizeCallbackData* tmp_add_class_20; ImGuiStorage* tmp_add_class_21; ImGuiStyle* tmp_add_class_22; ImGuiTableColumnSortSpecs* tmp_add_class_23; ImGuiTableSortSpecs* tmp_add_class_24; ImGuiTextBuffer* tmp_add_class_25; ImGuiTextFilter* tmp_add_class_26; ImGuiViewport* tmp_add_class_27; ImNewWrapper* tmp_add_class_28; ImVec2* tmp_add_class_29; ImVec4* tmp_add_class_30; _G_fpos64_t* tmp_add_class_31; _G_fpos_t* tmp_add_class_32; _IO_cookie_io_functions_t* tmp_add_class_33; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/LlGgukGZE9/dump1.h" -I/usr/include/imgui -I/usr/include/filament-1.9 In file included from /usr/include/filament-1.9/filament/Material.h:20, from /usr/include/filament-1.9/filagui/ImGuiHelper.h:25, from /tmp/LlGgukGZE9/dump1.h:29: /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColor filament::Color::toLinear(const filament::sRGBColor&) [with filament::ColorConversion = filament::FAST; filament::LinearColor = filament::math::details::TVec3; filament::sRGBColor = filament::math::details::TVec3]’: /usr/include/filament-1.9/filament/Color.h:149:64: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 149 | inline LinearColor Color::toLinear(sRGBColor const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColorA filament::Color::toLinear(const filament::sRGBColorA&) [with filament::ColorConversion = filament::FAST; filament::LinearColorA = filament::math::details::TVec4; filament::sRGBColorA = filament::math::details::TVec4]’: /usr/include/filament-1.9/filament/Color.h:154:66: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 154 | inline LinearColorA Color::toLinear(sRGBColorA const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColor filament::Color::toLinear(const filament::sRGBColor&) [with filament::ColorConversion = filament::ACCURATE; filament::LinearColor = filament::math::details::TVec3; filament::sRGBColor = filament::math::details::TVec3]’: /usr/include/filament-1.9/filament/Color.h:159:68: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 159 | inline LinearColor Color::toLinear(sRGBColor const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColorA filament::Color::toLinear(const filament::sRGBColorA&) [with filament::ColorConversion = filament::ACCURATE; filament::LinearColorA = filament::math::details::TVec4; filament::sRGBColorA = filament::math::details::TVec4]’: /usr/include/filament-1.9/filament/Color.h:164:70: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 164 | inline LinearColorA Color::toLinear(sRGBColorA const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::sRGBColor filament::Color::toSRGB(const filament::LinearColor&) [with filament::ColorConversion = filament::FAST; filament::sRGBColor = filament::math::details::TVec3; filament::LinearColor = filament::math::details::TVec3]’: /usr/include/filament-1.9/filament/Color.h:170:62: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 170 | inline sRGBColor Color::toSRGB(LinearColor const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::sRGBColorA filament::Color::toSRGB(const filament::LinearColorA&) [with filament::ColorConversion = filament::FAST; filament::sRGBColorA = filament::math::details::TVec4; filament::LinearColorA = filament::math::details::TVec4]’: /usr/include/filament-1.9/filament/Color.h:175:64: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 175 | inline sRGBColorA Color::toSRGB(LinearColorA const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::sRGBColor filament::Color::toSRGB(const filament::LinearColor&) [with filament::ColorConversion = filament::ACCURATE; filament::sRGBColor = filament::math::details::TVec3; filament::LinearColor = filament::math::details::TVec3]’: /usr/include/filament-1.9/filament/Color.h:180:66: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 180 | inline sRGBColor Color::toSRGB(LinearColor const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::sRGBColorA filament::Color::toSRGB(const filament::LinearColorA&) [with filament::ColorConversion = filament::ACCURATE; filament::sRGBColorA = filament::math::details::TVec4; filament::LinearColorA = filament::math::details::TVec4]’: /usr/include/filament-1.9/filament/Color.h:185:68: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 185 | inline sRGBColorA Color::toSRGB(LinearColorA const& color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColor filament::Color::toLinear(filament::RgbType, filament::math::float3)’: /usr/include/filament-1.9/filament/Color.h:189:68: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 189 | inline LinearColor Color::toLinear(RgbType type, math::float3 color) { | ^ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColorA filament::Color::toLinear(filament::RgbaType, filament::math::float4)’: /usr/include/filament-1.9/filament/Color.h:195:70: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 195 | inline LinearColorA Color::toLinear(RgbaType type, math::float4 color) { | ^ In file included from /usr/include/filament-1.9/math/mat3.h:20, from /usr/include/filament-1.9/math/mat4.h:21, from /usr/include/filament-1.9/filament/Box.h:26, from /tmp/LlGgukGZE9/dump1.h:35: /usr/include/filament-1.9/math/quat.h: In function ‘constexpr filament::math::quat filament::math::operator""_i(long double)’: /usr/include/filament-1.9/math/quat.h:139:51: note: parameter passing for argument of type ‘filament::math::details::TQuaternion’ when C++17 is enabled changed to match C++14 in GCC 10.1 139 | constexpr inline quat operator "" _i(long double v) { | ^ /usr/include/filament-1.9/filament/Box.h: In member function ‘constexpr filament::math::float3 filament::Box::getMin() const’: /usr/include/filament-1.9/filament/Box.h:54:52: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 54 | constexpr math::float3 getMin() const noexcept { | ^ /usr/include/filament-1.9/filament/Box.h: In member function ‘filament::math::float4 filament::Box::getBoundingSphere() const’: /usr/include/filament-1.9/filament/Box.h:102:53: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 102 | math::float4 getBoundingSphere() const noexcept { | ^ /usr/include/filament-1.9/filament/Box.h: In member function ‘filament::math::float3 filament::Aabb::center() const’: /usr/include/filament-1.9/filament/Box.h:140:42: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 140 | math::float3 center() const noexcept { | ^ In file included from /tmp/LlGgukGZE9/dump1.h:76: /usr/include/filament-1.9/ibl/Cubemap.h: In static member function ‘static filament::math::float2 filament::ibl::Cubemap::center(size_t, size_t)’: /usr/include/filament-1.9/ibl/Cubemap.h:156:65: note: parameter passing for argument of type ‘filament::math::details::TVec2’ when C++17 is enabled changed to match C++14 in GCC 10.1 156 | inline filament::math::float2 Cubemap::center(size_t x, size_t y) { | ^ /usr/include/filament-1.9/ibl/Cubemap.h: In member function ‘filament::math::float3 filament::ibl::Cubemap::getDirectionFor(Face, size_t, size_t) const’: /usr/include/filament-1.9/ibl/Cubemap.h:160:87: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 160 | inline filament::math::float3 Cubemap::getDirectionFor(Face face, size_t x, size_t y) const { | ^~~~~ In file included from /tmp/LlGgukGZE9/dump1.h:81: /usr/include/filament-1.9/ibl/utilities.h: In function ‘filament::math::float2 filament::ibl::hammersley(uint32_t, float)’: /usr/include/filament-1.9/ibl/utilities.h:44:62: note: parameter passing for argument of type ‘filament::math::details::TVec2’ when C++17 is enabled changed to match C++14 in GCC 10.1 44 | inline filament::math::float2 hammersley(uint32_t i, float iN) { | ^ In file included from /tmp/LlGgukGZE9/dump1.h:82: /usr/include/filament-1.9/image/ColorTransform.h: In function ‘T image::sRGBToLinear(const T&) [with T = filament::math::details::TVec3]’: /usr/include/filament-1.9/image/ColorTransform.h:112:78: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 112 | inline filament::math::float3 sRGBToLinear(const filament::math::float3& sRGB) { | ^ /usr/include/filament-1.9/image/ColorTransform.h: In function ‘T image::sRGBToLinear(const T&) [with T = filament::math::details::TVec4]’: /usr/include/filament-1.9/image/ColorTransform.h:129:78: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 129 | inline filament::math::float4 sRGBToLinear(const filament::math::float4& sRGB) { | ^ /usr/include/filament-1.9/image/ColorTransform.h: In function ‘T image::linearToSRGB(const T&) [with T = filament::math::details::TVec3]’: /usr/include/filament-1.9/image/ColorTransform.h:150:79: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 150 | inline filament::math::float3 linearToSRGB(const filament::math::float3& color) { | ^ In file included from /tmp/LlGgukGZE9/dump1.h:108: /usr/include/filament-1.9/math/norm.h: In function ‘filament::math::float4 filament::math::unpackUnorm16(ushort4)’: /usr/include/filament-1.9/math/norm.h:53:40: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 53 | inline float4 unpackUnorm16(ushort4 v) noexcept { | ^~~~~~~~ In file included from /usr/include/filament-1.9/utils/Allocator.h:24, from /tmp/LlGgukGZE9/dump1.h:115: /usr/include/filament-1.9/utils/SpinLock.h: In member function ‘void utils::SpinLock::unlock()’: /usr/include/filament-1.9/utils/SpinLock.h:59:9: error: ‘__dsb’ was not declared in this scope 59 | __dsb(0xA); // ISHST = 0xA (b1010) | ^~~~~ In file included from /usr/include/filament-1.9/math/vec2.h:20, from /usr/include/filament-1.9/math/vec3.h:20, from /usr/include/filament-1.9/math/vec4.h:20, from /usr/include/filament-1.9/backend/DriverEnums.h:27, from /tmp/LlGgukGZE9/dump1.h:13: /usr/include/filament-1.9/math/TVecHelpers.h: In instantiation of ‘filament::math::details::TVec3 filament::math::details::pow(TVec3, float)’: /usr/include/filament-1.9/filament/Color.h:150:15: required from here /usr/include/filament-1.9/math/TVecHelpers.h:473:39: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 473 | friend inline VECTOR MATH_PURE pow(VECTOR v, T p) { | ^~~ /usr/include/filament-1.9/math/TVecHelpers.h: In instantiation of ‘constexpr VECTOR::type> filament::math::details::operator*(const VECTOR&, const VECTOR&) [with U = float; VECTOR = TVec4; T = float; typename arithmetic_result::type = float]’: /usr/include/filament-1.9/filament/Color.h:198:99: required from here /usr/include/filament-1.9/math/TVecHelpers.h:202:49: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 202 | VECTOR> MATH_PURE operator*(const VECTOR& lv, const VECTOR& rv) { | ^~~~~~~~ /usr/include/filament-1.9/math/TVecHelpers.h: In instantiation of ‘constexpr VECTOR::type> filament::math::details::operator-(const VECTOR&, const VECTOR&) [with U = float; VECTOR = TVec3; T = float; typename arithmetic_result::type = float]’: /usr/include/filament-1.9/filament/Box.h:55:25: required from here /usr/include/filament-1.9/math/TVecHelpers.h:138:49: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 138 | VECTOR> MATH_PURE operator-(const VECTOR& lv, const VECTOR& rv) { | ^~~~~~~~ /usr/include/filament-1.9/image/ColorTransform.h: In instantiation of ‘filament::math::float4 image::linearToRGBM(const T&) [with T = filament::math::details::TVec3; filament::math::float4 = filament::math::details::TVec4]’: /usr/include/filament-1.9/image/ColorTransform.h:343:32: required from here /usr/include/filament-1.9/image/ColorTransform.h:50:31: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 50 | inline filament::math::float4 linearToRGBM(const T& linear) { | ^~~~~~~~~~~~ /usr/include/filament-1.9/math/TVecHelpers.h: In instantiation of ‘filament::math::details::TVec3 filament::math::details::sqrt(TVec3)’: /usr/include/filament-1.9/image/ColorTransform.h:56:20: required from ‘filament::math::float4 image::linearToRGBM(const T&) [with T = filament::math::details::TVec3; filament::math::float4 = filament::math::details::TVec4]’ /usr/include/filament-1.9/image/ColorTransform.h:343:32: required from here /usr/include/filament-1.9/math/TVecHelpers.h:459:39: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 459 | friend inline VECTOR MATH_PURE sqrt(VECTOR v) { | ^~~~ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColorA filament::Color::toLinear(const filament::sRGBColorA&) [with filament::ColorConversion = filament::FAST]’: /usr/include/filament-1.9/filament/Color.h:154:21: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 154 | inline LinearColorA Color::toLinear(sRGBColorA const& color) { | ^~~~~ /usr/include/filament-1.9/filament/Color.h:155:28: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 155 | return LinearColorA{pow(color.rgb, 2.2f), color.a}; | ~~~^~~~~~~~~~~~~~~~~ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColorA filament::Color::toLinear(const filament::sRGBColorA&) [with filament::ColorConversion = filament::ACCURATE]’: /usr/include/filament-1.9/filament/Color.h:164:21: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 164 | inline LinearColorA Color::toLinear(sRGBColorA const& color) { | ^~~~~ /usr/include/filament-1.9/filament/Color.h:165:37: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 165 | return LinearColorA{sRGBToLinear(color.rgb), color.a}; | ~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::sRGBColorA filament::Color::toSRGB(const filament::LinearColorA&) [with filament::ColorConversion = filament::FAST]’: /usr/include/filament-1.9/filament/Color.h:175:19: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 175 | inline sRGBColorA Color::toSRGB(LinearColorA const& color) { | ^~~~~ /usr/include/filament-1.9/filament/Color.h:176:26: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 176 | return sRGBColorA{pow(color.rgb, 1.0f / 2.2f), color.a}; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::sRGBColorA filament::Color::toSRGB(const filament::LinearColorA&) [with filament::ColorConversion = filament::ACCURATE]’: /usr/include/filament-1.9/filament/Color.h:185:19: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 185 | inline sRGBColorA Color::toSRGB(LinearColorA const& color) { | ^~~~~ /usr/include/filament-1.9/filament/Color.h:186:35: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 186 | return sRGBColorA{linearToSRGB(color.rgb), color.a}; | ~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/filament-1.9/filament/Color.h: In static member function ‘static filament::LinearColorA filament::Color::toLinear(filament::RgbaType, filament::math::float4)’: /usr/include/filament-1.9/filament/Color.h:195:21: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 195 | inline LinearColorA Color::toLinear(RgbaType type, math::float4 color) { | ^~~~~ /usr/include/filament-1.9/filament/Material.h: In member function ‘void filament::Material::setDefaultParameter(const char*, filament::RgbType, filament::math::float3)’: /usr/include/filament-1.9/filament/Material.h:258:10: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 258 | void setDefaultParameter(const char* name, RgbType type, math::float3 color) noexcept { | ^~~~~~~~~~~~~~~~~~~ /usr/include/filament-1.9/filament/Material.h: In member function ‘void filament::Material::setDefaultParameter(const char*, filament::RgbaType, filament::math::float4)’: /usr/include/filament-1.9/filament/Material.h:271:10: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 271 | void setDefaultParameter(const char* name, RgbaType type, math::float4 color) noexcept { | ^~~~~~~~~~~~~~~~~~~ /usr/include/filament-1.9/math/quat.h: In function ‘constexpr filament::math::quat filament::math::operator""_i(long double)’: /usr/include/filament-1.9/math/quat.h:139:23: note: parameter passing for argument of type ‘filament::math::details::TQuaternion’ when C++17 is enabled changed to match C++14 in GCC 10.1 139 | constexpr inline quat operator "" _i(long double v) { | ^~~~~~~~ /usr/include/filament-1.9/filament/Box.h: In member function ‘constexpr filament::math::float3 filament::Box::getMin() const’: /usr/include/filament-1.9/filament/Box.h:54:28: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 54 | constexpr math::float3 getMin() const noexcept { | ^~~~~~ /usr/include/filament-1.9/filament/Box.h: In member function ‘filament::math::float4 filament::Box::getBoundingSphere() const’: /usr/include/filament-1.9/filament/Box.h:102:18: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 102 | math::float4 getBoundingSphere() const noexcept { | ^~~~~~~~~~~~~~~~~ /usr/include/filament-1.9/filament/Box.h: In member function ‘filament::math::float3 filament::Aabb::center() const’: /usr/include/filament-1.9/filament/Box.h:140:18: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 140 | math::float3 center() const noexcept { | ^~~~~~ /usr/include/filament-1.9/ibl/Cubemap.h: In static member function ‘static filament::math::float2 filament::ibl::Cubemap::center(size_t, size_t)’: /usr/include/filament-1.9/ibl/Cubemap.h:156:31: note: parameter passing for argument of type ‘filament::math::details::TVec2’ when C++17 is enabled changed to match C++14 in GCC 10.1 156 | inline filament::math::float2 Cubemap::center(size_t x, size_t y) { | ^~~~~~~ /usr/include/filament-1.9/ibl/Cubemap.h: In member function ‘filament::math::float3 filament::ibl::Cubemap::getDirectionFor(Face, size_t, size_t) const’: /usr/include/filament-1.9/ibl/Cubemap.h:160:31: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 160 | inline filament::math::float3 Cubemap::getDirectionFor(Face face, size_t x, size_t y) const { | ^~~~~~~ /usr/include/filament-1.9/ibl/utilities.h: In function ‘filament::math::float2 filament::ibl::hammersley(uint32_t, float)’: /usr/include/filament-1.9/ibl/utilities.h:44:31: note: parameter passing for argument of type ‘filament::math::details::TVec2’ when C++17 is enabled changed to match C++14 in GCC 10.1 44 | inline filament::math::float2 hammersley(uint32_t i, float iN) { | ^~~~~~~~~~ /usr/include/filament-1.9/image/ColorTransform.h: In function ‘T image::sRGBToLinear(const T&) [with T = filament::math::details::TVec3]’: /usr/include/filament-1.9/image/ColorTransform.h:112:31: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 112 | inline filament::math::float3 sRGBToLinear(const filament::math::float3& sRGB) { | ^~~~~~~~~~~~ /usr/include/filament-1.9/image/ColorTransform.h: In function ‘T image::sRGBToLinear(const T&) [with T = filament::math::details::TVec4]’: /usr/include/filament-1.9/image/ColorTransform.h:129:31: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 129 | inline filament::math::float4 sRGBToLinear(const filament::math::float4& sRGB) { | ^~~~~~~~~~~~ /usr/include/filament-1.9/image/ColorTransform.h: In function ‘T image::linearToSRGB(const T&) [with T = filament::math::details::TVec3]’: /usr/include/filament-1.9/image/ColorTransform.h:150:31: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 150 | inline filament::math::float3 linearToSRGB(const filament::math::float3& color) { | ^~~~~~~~~~~~ /usr/include/filament-1.9/image/ColorTransform.h: In function ‘image::LinearImage image::fromLinearToRGBM(const LinearImage&)’: /usr/include/filament-1.9/image/ColorTransform.h:343:18: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 343 | *dst = linearToRGBM(*src); | ~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/filament-1.9/math/norm.h: In function ‘filament::math::short2 filament::math::packSnorm16(float2)’: /usr/include/filament-1.9/math/norm.h:41:15: note: parameter passing for argument of type ‘filament::math::details::TVec2’ when C++17 is enabled changed to match C++14 in GCC 10.1 41 | inline short2 packSnorm16(float2 v) noexcept { | ^~~~~~~~~~~ /usr/include/filament-1.9/math/norm.h: In function ‘filament::math::short4 filament::math::packSnorm16(float4)’: /usr/include/filament-1.9/math/norm.h:45:15: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 45 | inline short4 packSnorm16(float4 v) noexcept { | ^~~~~~~~~~~ /usr/include/filament-1.9/math/TVecHelpers.h: In function ‘filament::math::details::TVec3 filament::math::details::pow(TVec3, float)’: /usr/include/filament-1.9/math/TVecHelpers.h:473:39: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 473 | friend inline VECTOR MATH_PURE pow(VECTOR v, T p) { | ^~~ /usr/include/filament-1.9/math/TVecHelpers.h: In function ‘constexpr VECTOR::type> filament::math::details::operator*(const VECTOR&, const VECTOR&) [with U = float; VECTOR = TVec4; T = float]’: /usr/include/filament-1.9/math/TVecHelpers.h:202:49: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 202 | VECTOR> MATH_PURE operator*(const VECTOR& lv, const VECTOR& rv) { | ^~~~~~~~ /usr/include/filament-1.9/math/TVecHelpers.h: In function ‘constexpr VECTOR::type> filament::math::details::operator-(const VECTOR&, const VECTOR&) [with U = float; VECTOR = TVec3; T = float]’: /usr/include/filament-1.9/math/TVecHelpers.h:138:49: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 138 | VECTOR> MATH_PURE operator-(const VECTOR& lv, const VECTOR& rv) { | ^~~~~~~~ /usr/include/filament-1.9/image/ColorTransform.h: In function ‘filament::math::float4 image::linearToRGBM(const T&) [with T = filament::math::details::TVec3]’: /usr/include/filament-1.9/image/ColorTransform.h:50:31: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 50 | inline filament::math::float4 linearToRGBM(const T& linear) { | ^~~~~~~~~~~~ /usr/include/filament-1.9/image/ColorTransform.h:56:5: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 56 | RGBM.rgb = sqrt(RGBM.rgb); | ^~~~ /usr/include/filament-1.9/image/ColorTransform.h:67:12: note: parameter passing for argument of type ‘filament::math::details::TVec4’ when C++17 is enabled changed to match C++14 in GCC 10.1 67 | return RGBM; | ^~~~ /usr/include/filament-1.9/math/TVecHelpers.h: In function ‘filament::math::details::TVec3 filament::math::details::sqrt(TVec3)’: /usr/include/filament-1.9/math/TVecHelpers.h:459:39: note: parameter passing for argument of type ‘filament::math::details::TVec3’ when C++17 is enabled changed to match C++14 in GCC 10.1 459 | friend inline VECTOR MATH_PURE sqrt(VECTOR v) { | ^~~~