Re: Building g++ fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/2/07, Tim Prince <tprince@xxxxxxxxxxxx> wrote:
> NightStrike wrote:
> > I can't build g++ anymore.  I get this during a make all:
> >
> > .../../../gcc/libgcc/../gcc/libgcov.c: In function '__gcov_execve':
> > .../../../gcc/libgcc/../gcc/libgcov.c:948: warning: passing argument 2
> > of 'execve' from incompatible pointer type
> > .../../../gcc/libgcc/../gcc/libgcov.c:948: warning: passing argument 3
> > of 'execve' from incompatible pointer type
> > configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> > make[1]: *** [configure-target-libstdc++-v3] Error 1
> > make: *** [all] Error 2
> >
> I suppose, if you don't want to fix your header files, you could blank
> out the WERROR macro in libcpp/Makefile.in, so that warnings are not
> treated as fatal.  Since you didn't mention having done so.
>

The warning isn't treated as fatal.  The error is that configure dies.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux