[pylucene-dev] jcc/pylucene gcc warnings
Andi Vajda
vajda at osafoundation.org
Sat Mar 22 08:16:01 PDT 2008
On Mar 22, 2008, at 6:33, "Alexandre Fiori" <fiorix at gmail.com> wrote:
>
> Hmm. I see.
> I wish I could remove that.
You can: recompile python without this flag.
Andi..
>
>
> On Sat, Mar 22, 2008 at 5:16 AM, Andi Vajda
> <vajda at osafoundation.org> wrote:
>
> On Mar 22, 2008, at 0:40, "Alexandre Fiori" <fiorix at gmail.com> wrote:
>
> >
> > While compiling jcc and pylucene 2.3.1 on ubuntu gutsy 7.10 (gcc
> > 4.1.3 20070929) it drops the following:
> > cc1plus: warning: command line option "-Wstrict-prototypes" is valid
> > for Ada/C/ObjC but not for C++
> >
> > Although there's no side effect on the generated code, I suggest
> > removing that from mainstream just to avoid such ugly warnings.
>
> This flag comes from python itself. Distutils, or Setuptools when
> installed, invokes the C++ compiler with the C compiler flags that
> Python itself was built with. This is where most of the C extension
> build magic is coming from.
> When using C++, there are some issues like the one you reported. C is
> compatible with C++, but that doesn't imply the compilers are.
>
> Andi..
>
>
> >
> >
> > --
> > Ship ahoy! Hast seen the While Whale?
> > - Melville's Captain Ahab
> > _______________________________________________
> > pylucene-dev mailing list
> > pylucene-dev at osafoundation.org
> > http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>
>
>
> --
> Ship ahoy! Hast seen the While Whale?
> - Melville's Captain Ahab
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20080322/09ed9a81/attachment.htm
More information about the pylucene-dev
mailing list