Hi again, > Message du 09/12/09 19:57 > De : "Dominique Leuenberger" > A : "Jean-Pierre André" > Copie à : [email protected] > Objet : Re: [ntfs-3g-devel] compiling ntfs-3g with -Werror > > > On Wed, 2009-12-09 at 18:49 +0100, Jean-Pierre André wrote: > > > So what I did now to solve the issue for the opensuse package is to add > > > sed -i "/#define const/d" config.h > > > between the configure and the make calls. this is the easiest way > > > around this specific bug (patching out AC_C_CONST out of configure.ac > > > would be an option, but then I run again in the issue that autogen.sh > > > does not complete in my chroot... and I do not want to fiddle that out > > > :) ). > > > > The problem with this, is that the fix is within > > your development script. A user doing a standard > > configure/make will fall into the same trap. > > I would rather undefine const in the source code, > > but that may be a matter of taste. > > True... if there is a decision upstream and a patch available there is > nothing better that could happen. I will gladly apply the same patch to > the openSUSE packages!
I will post a workaround to morrow (undef'ing the const) Regards Jean-Pierre ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
