[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Handling of #undef FOO
From: |
Ismail Dönmez |
Subject: |
Handling of #undef FOO |
Date: |
Sun, 6 Jan 2008 02:05:46 +0200 |
User-agent: |
KMail/1.9.6 (enterprise 0.20071204.744707) |
Hi all,
As far as I know autoheader processes config.h.in and similar files.
Now config.h.in contains
#undef FOO
and process config.h might contains
#define FOO
but it should be defined like this,
#ifndef FOO
#define FOO
#endif
else it will not compile with gcc 4.3 [0] . Any ideas?
[0] http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html
--
Never learn by your mistakes, if you do you may never dare to try again.
- Handling of #undef FOO,
Ismail Dönmez <=
- Re: Handling of #undef FOO, Paul Eggert, 2008/01/06
- Re: Handling of #undef FOO, Ismail Dönmez, 2008/01/06
- Re: Handling of #undef FOO, Ralf Corsepius, 2008/01/07
- Re: Handling of #undef FOO, Ismail Dönmez, 2008/01/07
- Re: Handling of #undef FOO, Ralf Corsepius, 2008/01/07
- Re: Handling of #undef FOO, Ismail Dönmez, 2008/01/07
- Re: Handling of #undef FOO, Eric Blake, 2008/01/07
- Re: Handling of #undef FOO, Ralf Wildenhues, 2008/01/07
- Re: Handling of #undef FOO, Ismail Dönmez, 2008/01/07
- Re: Handling of #undef FOO, Ismail Dönmez, 2008/01/07