C3900: Return value too large

[ERROR]

Description

The return type of the function is too large for this compiler.

Example
  typedef struct A {

  
    int i,j,k,l,m,n,o,p;

  
  }A;

  
  A f();

  
Tips

In C++, instead of a class/struct type, return a reference to it! In C, allocate the structure at the caller and pass a pointer/reference as additional parameter.

See also