On 07/07/2016 03:33 AM, Dāvis Mosāns wrote: > 2016-07-07 1:22 GMT+03:00 Mike Gelfand <mike...@mikedld.com>: >>> @@ -92,19 +159,26 @@ namespace @KWSYS_NAMESPACE@ >>> [snip] >>> private: >>> internal_buffer_type* buf_; >>> +#if !defined(_MSC_VER) >>> + FILE *file_ = 0; >>> +#endif >>> }; >>> >>> template<typename CharType,typename Traits = std::char_traits<CharType> > >> In-place member initialization... As Brad wrote earlier, using C++11 in >> KWSys is not advised. >> > This was already there but only used for _MSC_VER >= 1400 > Maybe could just guard this with __cplusplus >= 201103L and not support > Unicode for older, it would be much easier...
Apologies, don't quite get your response. Maybe the quote was too big; I surely meant to point to "FILE *file_ = 0;" line, not the template declaration or something else. Regards, Mike -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers