complex int ? A gcc-ism?

139 views
Skip to first unread message

Victor Eijkhout

unread,
Jun 24, 2016, 6:06:44 AM6/24/16
to julia-users
My attempt to install Julia with the Intel compilers flounders on

make[2]: Entering directory `/work/00434/eijkhout/julia/julia-master/src'

    CC usr/lib/libccalltest.so

/work/00434/eijkhout/julia/julia-master/src/ccalltest.c(295): error: _Complex can only be used with float, double, or long double types

      complex int r1;

              ^


/work/00434/eijkhout/julia/julia-master/src/ccalltest.c(296): error: _Complex can only be used with float, double, or long double types

      complex int r2;

              ^


From all the googling that I've done, "complex int" is not legal C, but seems a gcc extension. True?


This looks like a test file, and the only place it ever occurs. Shall I just edit it out and call my installation completely?


Victor.

Stefan Karpinski

unread,
Jun 24, 2016, 10:57:36 AM6/24/16
to Julia Users
Yes, you can comment that bit out. Would you also mind filing an issue – we should #ifdef that bit out on non-gcc compilers.

Victor Eijkhout

unread,
Jun 27, 2016, 11:48:01 AM6/27/16
to julia-users
Reply all
Reply to author
Forward
0 new messages