Product compiler bails out in gcc due to wrong arguments
|
|
Bugzilla Link |
268 |
Created on |
Aug 10, 2006 10:01 |
Resolution |
WORKSFORME |
Resolved on |
Oct 20, 2006 15:18 |
Version |
1.00beta |
OS |
SunOS |
Architecture |
PC |
Extended Description
cd modules/structures/lib/..; sac2c -v0 ComplexArrayBasics.sac -o lib
fun16.c: In function
'SACf_ComplexArrayBasics__modarray__SACt_ComplexBasics__complex_S__i_1__SACt_ComplexBasics__complex_S':
fun16.c:717: warning: passing argument 1 of 'SACf_sac2c__zero__d_S' from
incompatible pointer type
fun16.c:717: warning: passing argument 2 of 'SACf_sac2c__zero__d_S' from
incompatible pointer type
fun16.c:717: warning: passing argument 3 of 'SACf_sac2c__zero__d_S' from
incompatible pointer type
fun16.c:717: error: too many arguments to function 'SACf_sac2c__zero__d_S'
fun7.c: In function
'SACf_ComplexArrayBasics__modarray__SACt_ComplexBasics__complex_S__i__SACt_ComplexBasics__complex_S':
fun7.c:739: warning: passing argument 1 of 'SACf_sac2c__zero__d_S' from
incompatible pointer type
fun7.c:739: warning: passing argument 2 of 'SACf_sac2c__zero__d_S' from
incompatible pointer type
fun7.c:739: warning: passing argument 3 of 'SACf_sac2c__zero__d_S' from
incompatible pointer type
fun7.c:739: error: too many arguments to function 'SACf_sac2c__zero__d_S'
ABORT: System failed to execute shell command
ABORT: cd /tmp/tvk/SAC_AAAGya4Sz; gcc -Wall -Wno-unused -fno-builtin -fPIC
ABORT: -DPIC -I$SACBASE/runtime/ -L$SACBASE/runtime/
ABORT: -L/tmp/tvk/SAC_AAAGya4Sz -O3 -c fun*.c globals.c
ABORT: with exit code 1
*** Compilation failed ***
*** Exit code 18 (Invoking C compiler)
*** 1 Error(s), 0 Warning(s)