This sounds like trying to compile code with explicitly multibyte strings - e.g. "abc" - in a wide string build.
How are you compiling this file? From the command-line via the makefile (e.g. in build/vc8)? Or from the IDE? Are you using a project file that ships with FastFormat, or have you created one of your own?
The makefiles are tested - in the sense that they're use to build and run tests (e.g. "nmake build test") - with every release. The project files don't (yet) receive that degree of attention, and it's possible that they're not fully up to date.
I look forward to hearing your reply
Matt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've just done "nmake build.examples" (which builds all the targets that use the example program you mention) with VC++ 9, and all compiled without issue. Will try with VC++ 8 tonight/tomorrow.
Matt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1>c:\stlsoft\fastformat-0.6.3\examples\example.overload.3.server_log\example.overload.3.server_log.cpp(197) : error C2664: 'fastformat::fastformat_util_snprintf' : cannot convert parameter 1 from 'char ' to 'fastformat::ff_char_t *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Any ideas?
This sounds like trying to compile code with explicitly multibyte strings - e.g. "abc" - in a wide string build.
How are you compiling this file? From the command-line via the makefile (e.g. in build/vc8)? Or from the IDE? Are you using a project file that ships with FastFormat, or have you created one of your own?
The makefiles are tested - in the sense that they're use to build and run tests (e.g. "nmake build test") - with every release. The project files don't (yet) receive that degree of attention, and it's possible that they're not fully up to date.
I look forward to hearing your reply
Matt
I've just done "nmake build.examples" (which builds all the targets that use the example program you mention) with VC++ 9, and all compiled without issue. Will try with VC++ 8 tonight/tomorrow.
Matt