On 2005-07-23 14:09:05 +0100 Benoit Astruc <[EMAIL PROTECTED]> wrote:

It's in code which should only be compiled when the additions part of the base library is built standalone on MacOS-X. Is that what you are trying to do, or has something gone wrong with configuration?

That's exactly what I am trying to do, but it's quite hard. I am working on the third compil error I encounter.

        Well and i don't know how to fix this one :

In file included from .../../Headers/Additions/GNUstepBase/GSIArray.h:129,
from .../../Headers/Additions/GNUstepBase/GSRunLoopCtxt.h:5,
                 from GSRunLoopCtxt.m:12:
.../../Headers/Additions/GNUstepBase/GSUnion.h:93: error: parse error before "gss8" .../../Headers/Additions/GNUstepBase/GSUnion.h:93: warning: no semicolon at end of struct or union .../../Headers/Additions/GNUstepBase/GSUnion.h:94: warning: type defaults to `int' in declaration of `u8' .../../Headers/Additions/GNUstepBase/GSUnion.h:94: warning: data definition has no type or storage class .../../Headers/Additions/GNUstepBase/GSUnion.h:97: error: parse error before "s16" .../../Headers/Additions/GNUstepBase/GSUnion.h:97: warning: type defaults to `int' in declaration of `s16' .../../Headers/Additions/GNUstepBase/GSUnion.h:97: warning: data definition has no type or storage class .../../Headers/Additions/GNUstepBase/GSUnion.h:98: error: parse error before "u16" .../../Headers/Additions/GNUstepBase/GSUnion.h:98: warning: type defaults to `int' in declaration of `u16' .../../Headers/Additions/GNUstepBase/GSUnion.h:98: warning: data definition has no type or storage class .../../Headers/Additions/GNUstepBase/GSUnion.h:101: error: parse error before "s32" .../../Headers/Additions/GNUstepBase/GSUnion.h:101: warning: type defaults to `int' in declaration of `s32' .../../Headers/Additions/GNUstepBase/GSUnion.h:101: warning: data definition has no type or storage class .../../Headers/Additions/GNUstepBase/GSUnion.h:102: error: parse error before "u32" .../../Headers/Additions/GNUstepBase/GSUnion.h:102: warning: type defaults to `int' in declaration of `u32' .../../Headers/Additions/GNUstepBase/GSUnion.h:102: warning: data definition has no type or storage class .../../Headers/Additions/GNUstepBase/GSUnion.h:105: error: parse error before "s64" .../../Headers/Additions/GNUstepBase/GSUnion.h:105: warning: type defaults to `int' in declaration of `s64' .../../Headers/Additions/GNUstepBase/GSUnion.h:105: warning: data definition has no type or storage class .../../Headers/Additions/GNUstepBase/GSUnion.h:106: error: parse error before "u64" .../../Headers/Additions/GNUstepBase/GSUnion.h:106: warning: type defaults to `int' in declaration of `u64' .../../Headers/Additions/GNUstepBase/GSUnion.h:106: warning: data definition has no type or storage class .../../Headers/Additions/GNUstepBase/GSUnion.h:111: warning: type defaults to `int' in declaration of `GSIArrayItem' .../../Headers/Additions/GNUstepBase/GSUnion.h:111: warning: data definition has no type or storage class


        Any ideas ?

Well, all those types are in GSConfig.h, so it needs to be included somewhere.

BUT ... I don't know why GSRunLoopCtxt.m is being compiled ... it shouldn't be part of the build when you are just building the additions library.

Did you know you should build using a command like -

make debug=yes add=yes base=no
or
make add=yes base=no

to build the additions library but not the base library?

I don't know if there is a readme/howto for building the additions library standalone for use with Apple code :-(




_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to