This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building g++ fails


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]