[ofw] RE: [PATCH] WV: Don't link to CRT

Sean Hefty sean.hefty at intel.com
Mon Feb 23 12:15:22 PST 2009


>This patch removes the dependency on the CRT, avoiding any potential issues
>with mismatched CRTs (say a client app uses the single-threaded static version
>of the CRT while WinVerbs uses the multi-threaded DLL version.)

USE_MSVCRT makes it simple to add debug print output to the library.  Is this
change really necessary?  We're not allocating any threads, so a single-threaded
app should always be able to use a multi-threaded DLL.

(It's not a huge deal to have to change it back before adding prints, I just
want to understand the issue better.)

- Sean




More information about the ofw mailing list