-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone,
I am currently working on the next version of the log4cxx logging library, and came across an interesting question: Wide and narrow streams (e.g. std::wcerr and std::cerr) can not be used mixed within the same application. So, if a library uses one of those streams, any application linked against this library can never use the other stream type. One solution which comes to my mind is to provide a runtime configuration switch which allows the application to choose the stream type, the other solution is to provide two versions of the library, one compiled for wide streams, the other for narrow streams. Any other suggestions? Anyone knows other libraries which have the same issue and solved it in some cool way? Thanks & Best Regards, Andreas - -- Andreas Fester mailto:[EMAIL PROTECTED] WWW: http://www.littletux.net ICQ: 326674288 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD/OiCZ3bQVzeW+rsRAoDNAJ426i+Grx/L6pawv18t9o6Rm5q7MgCgkFLM ISjXzlJfrOiS2JxjPqE6csQ= =k9Ud -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]