[pylucene-dev] jcc/pylucene gcc warnings
fiorix at gmail.com
Sat Mar 22 06:33:05 PDT 2008
Hmm. I see.
I wish I could remove that.
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.
> > --
> > 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
Ship ahoy! Hast seen the While Whale?
- Melville's Captain Ahab
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pylucene-dev