
First time Boost user, trying to get it to build on VS C++ v8 .. and to be quite honest, haven't touched C++ itself for about 5 years so it's taken me a cuppla hours to even get to this point ;) I know the new version of Boost.build (2.0 v11) was only released this morning, but I think I may have found a bug. I get an assertion when I try to "build vc8" (which I've attached to the bottom of the email). For some reason it's trying to call _loctotime64_t, when I'm running on a 32 bit machine. While that's a little weird, what's weirder is that the assertion fails. And even weird than that - I've commented out the assertion from dtoxtm64.c, and it still comes up! Someone lend a hand to a newbie please ;) gleNN --------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed! Program: ... File: dtoxtm64.c Line: 67 Expression: ( ( ( long )( yr - 1900 ) >= _BASE_YEAR ) && ( ( long )( yr - 1900 ) <= _MAX_YEAR64 ) ) For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts. (Press Retry to debug the application) --------------------------- Abort Retry Ignore ---------------------------

You might want to check your include paths. Have you accidently configured an environment variable or bjam to point at the 64 bit includes that come with the Microsoft Platform SDK? John. Glenn Williamson wrote:
First time Boost user, trying to get it to build on VS C++ v8 .. and to be quite honest, haven't touched C++ itself for about 5 years so it's taken me a cuppla hours to even get to this point ;)
I know the new version of Boost.build (2.0 v11) was only released this morning, but I think I may have found a bug.
I get an assertion when I try to "build vc8" (which I've attached to the bottom of the email). For some reason it's trying to call _loctotime64_t, when I'm running on a 32 bit machine. While that's a little weird, what's weirder is that the assertion fails. And even weird than that - I've commented out the assertion from dtoxtm64.c, and it still comes up!
Someone lend a hand to a newbie please ;)
gleNN
--------------------------- Microsoft Visual C++ Debug Library --------------------------- Debug Assertion Failed!
Program: ... File: dtoxtm64.c Line: 67
Expression: ( ( ( long )( yr - 1900 ) >= _BASE_YEAR ) && ( ( long )( yr - 1900 ) <= _MAX_YEAR64 ) )
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application) --------------------------- Abort Retry Ignore ---------------------------
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

John Reid wrote:
You might want to check your include paths. Have you accidently configured an environment variable or bjam to point at the 64 bit includes that come with the Microsoft Platform SDK?
Nah - everything looks okay with regards to settings. I did end up figuring it out tho. Only took me 6 hours to get a bjam.exe ;) For those that care: - dtoxtm64.c has a strange assert in VS2005 Pro, that causes it to trip up on file system entries that have invalid creation/modification dates. I just stuck in a debug statement on line 147 of /jam_src/filent.c: printf("%s\n", finfo->name); .. to trap which file system entries were invalid. I manually copied these files and deleted the originals (sometimes the 'touch' command just didn't help). Waaaay past my bedtime. gleNN
participants (2)
-
Glenn Williamson
-
John Reid