Boost logo

Boost Users :

Subject: [Boost-users] [Preprocessor] Relative Addresses in BOOST_PP_FILENAME_1
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2011-01-23 13:27:42


Dear all,

I am trying to use BOOST_PP_FILENAME_1 for a header file in my current directory. Unless I hardcode the full address, GCC 4.5.1 (MinGW32, WinXP, SP3) says it can't find the same file in which I am using BOOST_PP_FILENAME_1! Is there any way I can go for relative file names? I have already checked the following -- neither works for the same reasons:

#define BOOST_PP_FILENAME_1 "./Header.hpp" //1

#define BOOST_PP_FILENAME_1 ".\Header.hpp" //2

#define BOOST_PP_FILENAME_1 "Header.hpp" //3

TIA,
--Hossein


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net