On Thu, November 16, 2006 19:40, Rafael Borovik wrote:
> Hello all,
>
> I did reinstall my PC and got some error while compiling libpqxx. I
> think the newer gcc version is not compatible to this library. If
> anyone can give me a tip on how to solve it, I'll be very happy :)

Actually, there's not a single error here!  All you get is a warning, but
since you're using the -Werror option that warning gets treated as an
error.  If you take away that option, the problem will be gone.

The -Werror option is enabled by default when configuring in maintainer
mode, because releases should compile without warnings in as many
environments as possible.  This particular warning however seems a bit
pointless.  The compiler is saying that something *in its own standard
headers* may not be exactly as you want it.  Normally gcc doesn't even
give such warnings about its own headers, so I suspect it may be a bug in
either the compiler or the standard headers.


Jeroen


_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general

Reply via email to