Re: [Boost-users] [Preprocessor] Relative Addresses in BOOST_PP_FILENAME_1
Dear TONGARI,
Just make sure "Lib" is in the include path, then everything works fine for me.
So, here is a very strange observation I got after trying to strictly follow the above recommendation of yours: I added my current working directory to the include path and it worked! I always thought that that is already in ones include path (by default). My compilers have always found such files. It even happens that my other files (in the same directory) used to find Header.hpp even despite that strange error I used to get! :O
It would be fine in the Remarks section to add words like:"quoted filename may not work with some compilers here, such as gcc..."
Agree. Thanks a lot, --Hossein
On Tue, 25 Jan 2011 04:06:18 -0800 (PST), Hossein Haeri
Dear TONGARI,
Just make sure "Lib" is in the include path, then everything works fine for me.
So, here is a very strange observation I got after trying to strictly follow the above recommendation of yours: I added my current working directory to the include path and it worked! I always thought that that is already in ones include path (by default). My compilers have always found such files. It even happens that my other files (in the same directory) used to find Header.hpp even despite that strange error I used to get! :O
It would be fine in the Remarks section to add words like:"quoted filename may not work with some compilers here, such as gcc..."
Agree.
Thanks a lot, --Hossein
Some compilers treat the "Current Working Directory" as the directory of the file currently being processed, not the base directory of the Project or the top level file being compiled. The Standard says nothing about directories or "Current Directories", leaving this up to the implementation. Richard Damon
participants (2)
-
Hossein Haeri
-
Richard Damon