|
Boost Users : |
From: Washburn (la.corbeille_at_[hidden])
Date: 2006-10-17 09:46:06
Hi all,
I experience violent crashes trying to link Boost in release.
Very simple example :
- I build Boost using bjam (all standard config, tool msvc-71)
- I create an empty MFC project with all defaults settings except for
include directories ("C:\Boost\include\boost-1_33_1") and lib directories
("C:\Boost\lib\")
- I try to execute this :
boost::filesystem::path::default_name_check(boost::filesystem::native);
boost::filesystem::path p;
p = "c:\\";
The last line works as expected in Debug but crashes in release :
Unhandled exception at 0x00402917 in testboost2.exe: 0xC0000005: Access
violation reading location 0x00000004.
It doesn't help trying to trace the code (int this case it's in
m_path_append( ) but it depends on the code being tried)
Any idea ?
Thanks in advance !
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