From: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Philip Warner <pjw(at)rhyme(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: CVS broken? |
Date: | 2000-10-10 23:35:57 |
Message-ID: | 39E3A7DD.4B5D80BA@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut wrote:
> Hiroshi Inoue writes:
>
> > For example the following line
> > CFLAGS+= -DFRONTEND -I$(srcdir)
> > in makefiles doesn't work currently.
> >
> > I found the recent change in Makefile.global.in.
> > ifeq ($(GCC), yes)
> > override CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
> > endif
>
> Seems like a problem in make. What versions are you using?
>
I tried the following makefile in cygwin and linux 2.0.36.
[makefile]
#
override CFLAGS += -DDEFINE1
CFLAGS += -DDEFINE2
all: a.o
[cygwin]
$ make -v
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-cygwin
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
...
$ make
gcc -DDEFINE1 -c -o a.o a.c
a.c:1: parse error before `{'
make: *** [a.o] Error 1
[linux]
$ make -v
GNU Make version 3.76.1, by Richard Stallman and Roland McGrath.
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97
Free Software Foundation, Inc.
...
$ make
cc -DDEFINE1 -c a.c -o a.o
a.c:1: parse error before `{'
make: *** [a.o] Error 1
-DDEFINE2 is expanded in neither case.
Regards.
Hiroshi Inoue
From | Date | Subject | |
---|---|---|---|
Next Message | Gunnar R|nning | 2000-10-11 00:27:15 | Re: Re: [HACKERS] My new job |
Previous Message | Bruce Momjian | 2000-10-10 23:31:41 | Re: Re: [HACKERS] My new job |