
14 Aug
2006
14 Aug
'06
10:25 a.m.
I am developing a console program in Win32 using Borland C++ Builder 6 and Boost 1.33.1. I have a statically linked library that uses Boost tokenizer and regex. The main program uses Boost function and program_options. If my library is linked with the main program, the help output (generated by program_options) crashes with a null pointer access. This happens even if the library is not referenced in any way - it is enough just to link it in. Remove the library from the link list and the problem disappears. I'm fairly much out of ideas now so a bit of help would be very much appreciated. Ebbe