Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save abinashmeher999/38138341fbd9ac5c867e to your computer and use it in GitHub Desktop.

Select an option

Save abinashmeher999/38138341fbd9ac5c867e to your computer and use it in GitHub Desktop.
make error while making an array or a variable of the type CRCPBasic
Scanning dependencies of target test_cwrapper
[ 73%] Building C object symengine/tests/cwrapper/CMakeFiles/test_cwrapper.dir/test_cwrapper.c.o
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c: In function ‘test_cwrapper’:
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:7:15: error: array type has incomplete element type
CRCPBasic x[1], y[1], z[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:7:21: error: array type has incomplete element type
CRCPBasic x[1], y[1], z[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:7:27: error: array type has incomplete element type
CRCPBasic x[1], y[1], z[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:18:15: error: array type has incomplete element type
CRCPBasic e[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c: In function ‘test_CVecBasic’:
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:107:15: error: array type has incomplete element type
CRCPBasic x[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:114:15: error: array type has incomplete element type
CRCPBasic y[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c: In function ‘test_get_args’:
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:128:15: error: array type has incomplete element type
CRCPBasic x[1], y[1], z[1], e[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:128:21: error: array type has incomplete element type
CRCPBasic x[1], y[1], z[1], e[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:128:27: error: array type has incomplete element type
CRCPBasic x[1], y[1], z[1], e[1];
^
/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:128:33: error: array type has incomplete element type
CRCPBasic x[1], y[1], z[1], e[1];
^
make[2]: *** [symengine/tests/cwrapper/CMakeFiles/test_cwrapper.dir/test_cwrapper.c.o] Error 1
make[1]: *** [symengine/tests/cwrapper/CMakeFiles/test_cwrapper.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment