[Top][All Lists]

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

Re: Compilation errors from

From: Andreas Heppel
Subject: Re: Compilation errors from
Date: Sun, 11 May 2003 16:37:00 +0200

On 2003-05-10 07:53:02 +0200 Jonathan Hepburn <> wrote:

The compilation errors are as follows:

Making all for bundle Defaults...
Compiling file Defaults.m ...
In file included from Defaults.h:44,
                   from Defaults.m:47:
../../PrefsModule/PrefsModule.h:46: parse error before "@protocol"
cc1obj: warnings being treated as errors
../../PrefsModule/PrefsModule.h:99: warning: duplicate declaration for
protocol `PrefsApplication'
Defaults.m:52: Cannot find protocol declaration for `PrefsController'
Defaults.m: In function `-[Defaults initWithOwner:]':
Defaults.m:125: warning: method `prefsController' not implemented by protocol.
Defaults.m:126: warning: cannot find method.
Defaults.m:126: warning: return type for `registerPrefsModule:' defaults to id
make[2]: *** [shared_obj/ix86/linux-gnu/gnu-gnu-gnu/Defaults.o] Error 1
make[1]: *** [Defaults.all.bundle.variables] Error 2

Open the indicated file and comment out the lines 46-48, all of which beginning with @protocol. I dunno why the compiler falls over those forward declarations, butt commenting them helps. You should also change all occurrences of id<one_of_those_protocols> to just id.
This will get you a couple of warnings, but nothing serious.


Andreas Heppel

Mail: aheppel at web dot de

Check out - the CD burning frontend for GNUstep

reply via email to

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