gcc-3.3 and gcc-4.0.1

Murali Vadivelu <[email protected]> Sun, 20 Nov 2005 03:47:32 +0000
Newsgroups gmane.comp.scigraphica.devel
Message-ID <[email protected]>
Both give the same error:

gcc-3.3 -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../scigraphica -Ipython - 
I../pixmaps -I../scigraphica/widgets -I../scigraphica/dialogs -I../ 
scigraphica/algorithms -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ 
include -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/ 
include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/ 
lib/gtk-2.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include  
-I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/ 
freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/ 
gtk-2.0/include -I/sw/include/gtkextra-2.0 -I/sw/include/libxml2 -I/ 
sw/include -I/sw/include/python2.4 -DPYTHON_MODULE_PATH=\"\" - 
DSG_PREFIX=\"/sw\" -DSG_DATADIR=\"/sw/share/scigraphica/2.1.0\" - 
DSG_LIBDIR=\"/sw/lib/scigraphica/2.1.0\" -DSG_PLUGINDIR=\"/sw/lib/ 
scigraphica/2.1.0/plugins\" -DSG_ICONDIR=\"/sw/share/pixmaps/ 
scigraphica\" -I/sw/include -g -O -W -Wall -DWITH_WARNINGS -MT  
sg_python_expr.lo -MD -MP -MF .deps/sg_python_expr.Tpo -c  
sg_python_expr.c  -fno-common -DPIC -o .libs/sg_python_expr.lo
In file included from /sw/include/python2.4/Python.h:77,
                  from sg_python_expr.c:26:
/sw/include/python2.4/objimpl.h:255: warning: use of `long double'  
type; its size may change in a future release
/sw/include/python2.4/objimpl.h:255: warning: (Long double usage is  
reported only once for each file.
/sw/include/python2.4/objimpl.h:255: warning: To disable this  
warning, use -Wno-long-double.)
sg_python_expr.c: In function `sg_eval_expr_double':
sg_python_expr.c:133: warning: unused variable `parray'
sg_python_expr.c:134: warning: unused variable `apt'
sg_python_expr.c:136: warning: unused variable `retarray'
sg_python_expr.c:130: warning: unused parameter `expect'
sg_python_expr.c:213: warning: control reaches end of non-void function
sg_python_expr.c: At top level:
sg_python_expr.c:214: warning: type defaults to `int' in declaration  
of `len'
sg_python_expr.c:214: error: `expect' undeclared here (not in a  
function)
sg_python_expr.c:214: error: `array' undeclared here (not in a function)
sg_python_expr.c:214: warning: data definition has no type or storage  
class
sg_python_expr.c:215: error: parse error before "if"
sg_python_expr.c:218: error: parse error before '&' token
sg_python_expr.c:218: warning: type defaults to `int' in declaration  
of `g_array_append_vals'
sg_python_expr.c:218: error: conflicting types for `g_array_append_vals'
/sw/include/glib-2.0/glib/garray.h:77: error: previous declaration of  
`g_array_append_vals'
sg_python_expr.c:220: warning: type defaults to `int' in declaration  
of `retarray'
sg_python_expr.c:220: error: `array' undeclared here (not in a function)
sg_python_expr.c:220: warning: data definition has no type or storage  
class
sg_python_expr.c:221: warning: type defaults to `int' in declaration  
of `num'
sg_python_expr.c:221: error: `array' undeclared here (not in a function)
sg_python_expr.c:221: warning: data definition has no type or storage  
class
sg_python_expr.c:222: error: parse error before '(' token
make[3]: *** [sg_python_expr.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click