|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2007-10-25 11:27:43
There are some more errors from the revised Boost.Test code when building
with /D"_UNICODE" /D"UNICODE": which is the default behaviour for new
projects created with the VC8 IDE. The errors are:
c:\data\boost\boost\trunk\boost\test\impl\debug.ipp(794) : error C2664:
'LONG (HKEY,LPCTSTR,PHKEY)' : cannot convert parameter 2 from 'const char
[53]' to 'LPCTSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
c:\data\boost\boost\trunk\boost\test\impl\debug.ipp(807) : error C2664:
'LONG (HKEY,LPTSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD)' : cannot convert
parameter 2 from 'const char [9]' to 'LPTSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
c:\data\boost\boost\trunk\boost\test\impl\debug.ipp(807) : error C2664:
'LONG (HKEY,LPTSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD)' : cannot convert
parameter 1 from 'LPDWORD' to 'HKEY'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
c:\data\boost\boost\trunk\boost\test\impl\debug.ipp(843) : error C2664:
'CreateProcessW' : cannot convert parameter 2 from 'char [200]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
Which can likely be easily solved by adding an "A" suffix to the Win32 API
calls. Whether these are all the errors, or just the first ones to get
reported is another matter...
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk