Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC
Home

[Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Robert Alan Byer <byer@xxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C.
From: Jason Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 08 Oct 2002 14:52:09 -0500

Robert Alan Byer wrote:
-----BEGIN PGP SIGNED MESSAGE-----


alternately, a quicker method would be to put something like:

#ifndef FC__ATTRIBUTE_H
#error
#endif

at around line 33 of client/attribute.c



Well, I'll leave it up to you guys to figure out how to best handle this
problem, hopefully it will get resolved soon so I can test out the
civclient on OpenVMS and submit any changes.

What happens if you put those three lines in client/attribute.c, line 33
(or somewhere below '#include "attribute.h"')?  If Mike's suspicion is
correct (which I think it is), the #error directive should cause a
compile error.

If this is the problem, it should be easily fixed.



With the above three lines inserted at line 33 in ../freeciv/client/attribute.c I get the following....

Looks like the "check" doesn't work since the error is in the header files anyway.

Well, even so it is almost certain Mike's right about the problem.

Try the attached patch - a preliminary one for removing common/attribute.h. Meanwhile I'll make a full patch.

jason

Attachment: diff
Description: application/java-vm


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