discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Unable to compile ProjectCenter 0.3.5 on SuSE 8.2


From: Richard Frith-Macdonald
Subject: Re: Unable to compile ProjectCenter 0.3.5 on SuSE 8.2
Date: Thu, 31 Jul 2003 08:59:55 +0100


On Thursday, July 31, 2003, at 06:31 AM, <address@hidden> wrote:

Hello Pablo,


When I try to compile ProjectCenter 0.3.5, it fails when compiling the
first file;
What I am doing wrong?

Making all for library libProjectCenter...
 Compiling file PCBrowserController.m ...
PCProject.h:86: warning: `PCGModels' defined but not used
[snip other warnings]
PCProject.h:116: warning: `PCBuildTool' defined but not used
make[2]: *** [shared_obj/PCBrowserController.o] Error 1
make[1]: *** [libProjectCenter.all.library.variables] Error 2
make[1]: Leaving directory
`/root/Development/ProjectCenter-0.3.5/PCLib'
make: *** [internal-all] Error 2

This looks *very* much like the same symptoms I had when testing the
header change.  It has to do with the fact that ProjcetCenter makefiles
uses
-Wall -Werror
which is generally OK for cvs but not to good for releases, because the
kind of warning the compiler emits is compiler version dependent.  We
should replace the static warnig options with some variables that can
differentiate between cvs and tarballs.

For you case, you can just locally remove all occurances of -Werror

I think this is actually due to the compiler version in use ... gcc-3.3 and later are a bit stricter about warnings ... so the -Werror causes a compile to fail
on more recent compilers where it would succeed on older ones.
The ideal solution is to modify the PC code to avoid generating the
warnings (eg don't define variables you are not going to use).

On my system, the warnings about the use of #import also cause the compile to fail ... so I have a local hacked version of the code using only #include





reply via email to

[Prev in Thread] Current Thread [Next in Thread]