-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
The problem was introduced by upgrading from the Emscripten Docker Image 3.1.10 to 3.1.11 (downgrading makes the error go away).
I'm getting these errors during compilation:
2022-05-24T09:45:10.4242458Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.4243046Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.4243403Z ^
2022-05-24T09:45:10.4243891Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.4244417Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.4244753Z ^
2022-05-24T09:45:10.4678365Z In file included from /opencascade.js/build/bindings/myMain.h/Instantiable1.cpp:4998:
2022-05-24T09:45:10.4679292Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.4679781Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.4680076Z ^
2022-05-24T09:45:10.4680516Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.4681005Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.4681294Z ^
2022-05-24T09:45:10.4710704Z In file included from /opencascade.js/build/bindings/myMain.h/ScopedEnum.cpp:4998:
2022-05-24T09:45:10.4711376Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.4711837Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.4712125Z ^
2022-05-24T09:45:10.4712573Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.4713186Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.4713483Z ^
2022-05-24T09:45:10.5342031Z In file included from /opencascade.js/build/bindings/myMain.h/TemplateClassInt.cpp:4998:
2022-05-24T09:45:10.5343738Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.5344282Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.5344606Z ^
2022-05-24T09:45:10.5345093Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.5345634Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.5345953Z ^
2022-05-24T09:45:10.5346446Z In file included from /opencascade.js/build/bindings/myMain.h/Instantiable2.cpp:4998:
2022-05-24T09:45:10.5347127Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.5347617Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.5347934Z ^
2022-05-24T09:45:10.5348421Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.5349028Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.5349690Z ^
2022-05-24T09:45:10.5350199Z In file included from /opencascade.js/build/bindings/myMain.h/Instantiable3.cpp:4998:
2022-05-24T09:45:10.5350905Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.5351404Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.5351705Z ^
2022-05-24T09:45:10.5352173Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.5352674Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.5352987Z ^
2022-05-24T09:45:10.5353501Z In file included from /opencascade.js/build/bindings/myMain.h/StaticMethods.cpp:4998:
2022-05-24T09:45:10.5354384Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.5354952Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.5355287Z ^
2022-05-24T09:45:10.5355820Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.5356427Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.5356782Z ^
2022-05-24T09:45:10.5357348Z In file included from /opencascade.js/build/bindings/myMain.h/NotScopedEnum.cpp:4998:
2022-05-24T09:45:10.5358161Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.5358719Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.5359182Z ^
2022-05-24T09:45:10.5359767Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.5360400Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
2022-05-24T09:45:10.5360752Z ^
2022-05-24T09:45:10.6254882Z In file included from /opencascade.js/build/bindings/myMain.h/TemplateClassFloat.cpp:4998:
2022-05-24T09:45:10.6256000Z /occt/src/Standard/Standard_Time.hxx:29:25: error: redefinition of 'IsEqual'
2022-05-24T09:45:10.6256588Z inline Standard_Boolean IsEqual (const Standard_Time theOne,
2022-05-24T09:45:10.6256955Z ^
2022-05-24T09:45:10.6257498Z /occt/src/Standard/Standard_Integer.hxx:126:25: note: previous definition is here
2022-05-24T09:45:10.6258093Z inline Standard_Boolean IsEqual (const Standard_Integer theOne,
The first two errors refer to these files: Standard_Time.hxx and Standard_Integer.hxx. The seemingly conflicting types are Standard_Time and Standard_Integer.
This has compiled without problems in previous versions of Emscripten.
Metadata
Metadata
Assignees
Labels
No labels