[Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
wasn't the fact that we have two attribute.h's a problem for some of the
handheld developers? Is the compiler trying to find the wrong attribute.h
and choking when it sees fc__attribute()?
I might suggest renaming attribute.h in the client to client_attribute.h
(with appropriate changes elsewhere) and see if that solves it. If you
check your preprocessor output, fc__attribute should not be appearing...
-mike
On Tue, Oct 08, 2002 at 06:51:06PM +0200, Davide Pagnin wrote:
> On Tue, 2002-10-08 at 18:31, Robert Alan Byer wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> >
> >
> > I pulled down the latest CVS snapshot so I could make sure that everything
> > was still working for the OpenVMS side.
>
> What is the latest freeciv package that you have compiled without
> problems?
>
> 1.13.0?
> 1.12.0?
> another snapshot of 1.13.1-devel?
>
> (This for understanding when the breakage may have happened)
>
> >
> > The civserver compiled, but the client had a problem.
> >
> > While trying to compile "./freeciv/client/attribute.c" I got the following
> > error..
> >
> > fc__attribute((format (printf, 3, 4)));
> > .....^
> > %CC-E-NOSEMI, Missing ";".
> > at line number 128 in file DISK$WORK:[TEST.FREECIV.COMMON]SHARED.H;1
> >
> > fc__attribute((format (printf, 2, 3)));
> > ..................^
> > %CC-E-NOSEMI, Missing ";".
> > at line number 62 in file DISK$WORK:[TEST.FREECIV.COMMON]LOG.H;1
>
> Can you test if changing the position at top of of
> #include "attribute.h"
> into attribute.c make any good?
>
> Anyway, IMHO it happens that for some reason unknown to me, the macro
> preprocessor fail to eliminate fc__attribute(...) part, or, worst, does
> eliminate the ; that is there to closing the line.
>
> It is possible that a spurious \n are giving problem to you?
>
> If nothing else works, try to eliminate those fc__attribute call and see
> what happens.
>
> (btw, I really can't imagine why it has problem with civclient and not
> with civserver, there are in fact uses of fc__attribute also in server/
> code).
>
> >
> > Any thoughts here? I have the DEC C compiler set to ANSI89 as normal.
> >
> >
> > +------------------+--------------------------+---------------+
> > | Robert Alan Byer | byer@xxxxxxxxxxxxxxxxxxx | ICQ #65926579 |
> > +------------------+--------------------------+---------------+
> > | Send an E-mail request to obtain a copy of my PGP key. |
> > +-------------------------------------------------------------+
> > | "It is by caffeine alone I set my mind in motion. It is by |
> > | cans of cola the thoughts aquire speed, the hands acquire |
> > | shakes, the shakes become a warning. It is by caffeine |
> > | alone I set my mind in motion." |
> > +-------------------------------------------------------------+
> >
>
>
>
- [Freeciv-Dev] Problem Compiling Client Under OpenVMS With DEC C., Robert Alan Byer, 2002/10/08
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Davide Pagnin, 2002/10/08
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C.,
Mike Kaufman <=
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Davide Pagnin, 2002/10/08
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Mike Kaufman, 2002/10/08
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Raimar Falke, 2002/10/09
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Davide Pagnin, 2002/10/09
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Jason Short, 2002/10/09
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Mike Kaufman, 2002/10/08
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Andy Black, 2002/10/08
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Per I. Mathisen, 2002/10/08
- [Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Jason Short, 2002/10/08
[Freeciv-Dev] Re: Problem Compiling Client Under OpenVMS With DEC C., Jason Short, 2002/10/08
|
|