From: Daniel G. <dg...@su...> - 2006-10-04 17:37:16
|
On Wednesday 04 October 2006 12:53, J.L. Blom wrote: > To continue my trials to work with opensync I obtained libopensync-0.19 > (the latest) and tried to compile it (using rpmbuild). > However, the use of the -Werror flag in the Makefile.am files results in > the following errors: > ________________________________________________ > cc1: warnings being treated as errors > opensync_wrap.c:214: warning: 'SWIG_TypeDynamicCast' defined but not [...] > My question is why defining parameters when they are not used (in > certain configurations). opensync_wrap.c is a autogenerated file by SWIG. dani@sugga:~/OPENSYNC-devel/svn/opensync/wrapper> head -n 3 opensync_wrap.c= =20 /* ------------------------------------------------------------------------= =2D--- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.29 I guess it is related to your version of your swig generator. Which version= of=20 swig do you use? > I also cannot see the use of the Werror flag in a rather stable product > as in most cases warnings are just what they are: warnings. They don't > produce an unstable run-time instance. In my case it prevents the > compilation unnecessary. > Is it possible to produce a version without the Werror activated? It is possible ... feel free to remove -Werror or add other compiler flags = to=20 ignore suche warnings. best regards, Daniel |