Hello all,
We have had problems with boost::path when used as a
const global
variable, using gcc on ARM Linux. Example code (typed in the
the email
so probably missing code, but this is the basic
premise)
#include <boost/filesystem/path.hhp>
const
boost::path test = "/usr/bin/whatever";
main()
{
//something
}
This crashes
prior to getting to main, obviously whilst the path is
being set up
during initialisation.
Is this a known problem? Is there a way round
it? Have we misunderstood
something important?
Path works fine
elsewhere, its only when some sort of initialisation
code is called that
it goes pear shaped.
James
This message
(including any attachments) contains confidential
and/or proprietary
information intended only for the addressee.
Any unauthorized
disclosure, copying, distribution or reliance on
the contents of this
information is strictly prohibited and may
constitute a violation of
law. If you are not the intended
recipient, please notify the
sender immediately by responding to
this e-mail, and delete the message
from your system. If you
have any questions about this e-mail
please notify the sender
immediately.
_______________________________________________
Boost-users
mailing list
Boost-users@lists.boost.orghttp://lists.boost.org/mailman/listinfo.cgi/boost-users