Re: [Boost-users] Program_options assertion failure
Well I presume you've already tried turning off the unicode option but I would try recompiling with the setting 'Use Multi-Byte Character Set' and also have 'Treat wchar_t as Built-in Type' set to No. The unicode setting doesn't affect the char *'s, but could certainly affect what happens when you create a std::string from one without explicitly setting a size/allocator. I agree with James that a mismatch between these settings is a very likely cause. Matt -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy. Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA.
where is the Treat wchar_t as Built-in Type option I can't find that one On 8/29/07, Fletcher, Matthew (Information Technology) < Matthew.E.Fletcher@dkib.com> wrote:
Well I presume you've already tried turning off the unicode option but I would try recompiling with the setting 'Use Multi-Byte Character Set' and also have 'Treat wchar_t as Built-in Type' set to No. The unicode setting doesn't affect the char *'s, but could certainly affect what happens when you create a std::string from one without explicitly setting a size/allocator. I agree with James that a mismatch between these settings is a very likely cause.
Matt
-- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.
Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised an d regulated by the FSA.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
nevermind, I found it and its set to No(/Zc:wchar_t-)
in both release and debug
On 8/29/07, Johnathan Bunn
where is the Treat wchar_t as Built-in Type option
I can't find that one
On 8/29/07, Fletcher, Matthew (Information Technology)
wrote: Well I presume you've already tried turning off the unicode option but I
would try recompiling with the setting 'Use Multi-Byte Character Set' and also have 'Treat wchar_t as Built-in Type' set to No. The unicode setting doesn't affect the char *'s, but could certainly affect what happens when you create a std::string from one without explicitly setting a size/allocator. I agree with James that a mismatch between these settings is a very likely cause.
Matt
-- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.
Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised an d regulated by the FSA.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
so I set all of mine to
use multi-byte and compiled and same issue
weahter i use wchar_t yes or no, it still has the same issue, and in unicode
or multibyte its the same
On 8/29/07, Johnathan Bunn
nevermind, I found it and its set to No(/Zc:wchar_t-) in both release and debug
On 8/29/07, Johnathan Bunn
wrote: where is the Treat wchar_t as Built-in Type option
I can't find that one
On 8/29/07, Fletcher, Matthew (Information Technology)
wrote: Well I presume you've already tried turning off the unicode option but I would try recompiling with the setting 'Use Multi-Byte Character Set' and also have 'Treat wchar_t as Built-in Type' set to No. The unicode setting doesn't affect the char *'s, but could certainly affect what happens when you create a std::string from one without explicitly setting a size/allocator. I agree with James that a mismatch between these settings is a very likely cause.
Matt
-- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.
Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised an d regulated by the FSA.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
does anyone actually have this working in visual studio 2k5?
ive tried every possibility it just doesn't seam possible for this to work
On 8/29/07, Johnathan Bunn
so I set all of mine to
use multi-byte and compiled and same issue
weahter i use wchar_t yes or no, it still has the same issue, and in unicode or multibyte its the same
On 8/29/07, Johnathan Bunn
wrote: nevermind, I found it and its set to No(/Zc:wchar_t-) in both release and debug
On 8/29/07, Johnathan Bunn
wrote: where is the Treat wchar_t as Built-in Type option
I can't find that one
On 8/29/07, Fletcher, Matthew (Information Technology)
wrote: Well I presume you've already tried turning off the unicode option but I would try recompiling with the setting 'Use Multi-Byte Character Set' and also have 'Treat wchar_t as Built-in Type' set to No. The unicode setting doesn't affect the char *'s, but could certainly affect what
happens when you create a std::string from one without explicitly setting a size/allocator. I agree with James that a mismatch between these settings is a very likely cause.
Matt
-- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, please contact the sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and delete the e-mail and do not disclose its contents to any person. We believe, but do not warrant, that this e-mail and any attachments are virus free, but you must take full responsibility for virus checking. Please refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer statement and monitoring policy.
Dresdner Kleinwort is the trading name of the investment banking division of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and their affiliated or associated companies. Dresdner Bank AG is a company incorporated in Germany with limited liability and registered in England (registered no. FC007638, place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the German Federal Financial Supervisory Authority and by the Financial Services Authority ('FSA') and regulated by the FSA for the conduct of designated business in the UK. Dresdner Kleinwort Limited is a company incorporated in England (registered no. 551334, registered office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated by the FSA. Dresdner Kleinwort Securities Limited is a company incorporated in England (registered no. 1767419, registered office 30 Gresham Street, London EC2V 7PG), and is authorised an d regulated by the FSA.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
-- To follow the Path, Look to the master, Walk with the master, See through the master, Become the master
participants (2)
-
Fletcher, Matthew (Information Technology)
-
Johnathan Bunn