Skip to content

[Fix] fatal error C1128 in Test_ReduceSum

Maxence Naud requested to merge fix_c1128-test-reducesum into dev

Context

Fatal error C1128 in Windows compilation preventing CI from successfully completing https://gitlab.eclipse.org/eclipse/aidge/aidge_backend_cpu/-/jobs/485211.

On Microsof website it is specified that:

number of sections exceeded object file format limit : compile with /bigobj

An .obj file exceeded the number of allowable sections, a COFF object file format limitation.

Reaching this section limitation can be the result of using /Gy and a debug build; /Gy causes functions to go into their own COMDAT sections. In a debug build, there is a debug info section for each COMDAT function.

C1128 can also be caused when there are too many inline functions.

Merge request reports

Loading