$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [filesystem]
From: Ford Sleeman (wsleemaniv_at_[hidden])
Date: 2011-06-15 16:56:46
Hi everybody,
I am trying to use the Boost filesystem library and ran into a strange 
problem. When I include the library in a project (automake or standard 
Makefile) I can link everything and the resulting program runs fine. I 
get errors like this for even including the <boost/filesystem.hpp> file 
in a second source or header file:
[my path]/boost/exception/exception.hpp:179: error: expected identifier 
before numeric constant
[my path]/boost_1_46_1/boost/exception/exception.hpp:179: error: 
expected `>' before numeric constant
[my path]/boost_1_46_1/boost/exception/exception.hpp:180: error: 
expected unqualified-id before numeric constant
[my path]/boost_1_46_1/boost/exception/exception.hpp:182: error: 
expected identifier before numeric constant
[my path]/boost_1_46_1/boost/exception/exception.hpp:182: error: 
expected `>' before numeric constant
[my path]/boost_1_46_1/boost/exception/exception.hpp:183: error: 
expected unqualified-id before numeric constant
[my path]/boost_1_46_1/boost/exception/exception.hpp:185: error: 
expected identifier before numeric constant
I could not find any examples of linking multiple files in a project 
with the library, does such exist? Is there something special to include 
the headers in this situation? If I comment out the #include and any 
references to the boost::filesystem functions in the second source file 
the program will compile correctly.
Thanks,
Ford Sleeman
NOTE:  The information contained in this message may be privileged and confidential and protected from disclosure.  If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.
--------------------------------------
VCU Health System
http://www.vcuhealth.org