Re: [Boost-users] [Preprocessor] Relative Addresses in BOOST_PP_FILENAME_1

Hi TONGARI,
#define BOOST_PP_FILENAME_1 "./Header.hpp" //1 #define BOOST_PP_FILENAME_1 ".\Header.hpp" //2 #define BOOST_PP_FILENAME_1 "Header.hpp" //3
I have the same problem with you, I also use GCC 4.5.1, while <> works fine but "" not.
Strangely enough, <> doesn't work in my GCC either. (And, I'm not writing a precompiled header anyway.) Are you also using GCC under MinGW32? TIA, --Hossein

2011/1/24 Hossein Haeri <powerprogman@yahoo.com>
Strangely enough, <> doesn't work in my GCC either. (And, I'm not writing a precompiled header anyway.) Are you also using GCC under MinGW32?
Yes, it's under MinGW32. Where I said <> I meant <something in compiler's include path>, that works fine, just as Edward and Steven said. If this is not a bug with a specific compiler, I hope at least it should be noted in Boost.PP's doc.
participants (2)
-
Hossein Haeri
-
TONGARI