This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bug in preprocessor which be integrated with C++ frontend
- To: gcc at gcc dot gnu dot org
- Subject: Bug in preprocessor which be integrated with C++ frontend
- From: "Dave Raggett" <dave_raggett at hotmail dot com>
- Date: Fri, 16 Feb 2001 06:38:27 -0000
Take a look at this file (~/test/test.cpp)
#ifndef __TEST_CPP__
#define __TEST_CPP__
#include "../test/test.cpp"
#endif
I found it will be read twice in preprocessor that integrated with C++
frontend.
But if i use #include "./test.cpp",it will be cached and only be read once.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.