Re: CVS broken?

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: CVS broken?
Дата
Msg-id 39E3A7DD.4B5D80BA@tpf.co.jp
обсуждение исходный текст
Ответ на Re: CVS broken?  (Peter Eisentraut <peter_e@gmx.net>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: teg@redhat.com (Trond Eivind Glomsrød)
Дата:
Сообщение: Re: [GENERAL] Re: My new job
Следующее
От: Gunnar R|nning
Дата:
Сообщение: Re: [GENERAL] Re: My new job