[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 1.49b on Cygwin
From: |
Akim Demaille |
Subject: |
Re: Bison 1.49b on Cygwin |
Date: |
26 Sep 2002 13:15:42 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
| Compiling Bison 1.49b on Cygwin gives me warnings like this in most source
| files:
|
| gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../lib -g -O2 -c `test
-f ' timevar.c' || echo './'`timevar.c
| In file included from /usr/include/stdlib.h:19,
| from ../src/system.h:47,
| from timevar.c:34:
| /usr/include/alloca.h:14: warning: `alloca' redefined
| ../src/system.h:27: warning: this is the location of the previous definition
|
| This is harmless because the definitions in system.h and in alloca.h are
| the same, but perhaps you want to clean it up anyway.
Ha! Now I understand :( Thanks! I had not realized we had a hard
copy of alloca's prototype in system.h.
Well, I have looked at how Jim handles this case in the Coreutils: the
only difference I can see is that he includes stdlib.h *before* the
`alloca' section. What happens if you do the same? I.e., if you try
the following system.h instead:
system.h
Description: Text Data