Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenstldbg_include.cpp
Go to the documentation of this file.
00001 /* 00002 * This is compile-time test for situation below not happen. 00003 * STLport use many defines and auxilary structures, namespaces and templates 00004 * that included via _prolog.h. After preprocessor phase we may see: 00005 * 00006 * extern "C" { 00007 * 00008 * namespace std { } 00009 * 00010 * 00011 * This is bad, but acceptable. But in STLPORT_DEBUG mode we can see 00012 * 00013 * extern "C" { 00014 * 00015 * namespace std { 00016 * namespace private { 00017 * 00018 * template <class _Dummy> 00019 * class __stl_debug_engine { 00020 * 00021 * 00022 * This lead to compile-time error. 00023 * [This due to sys/types.h contains 00024 * 00025 * __BEGIN_DECLS 00026 * #include <bits/types.h> 00027 * 00028 * 00029 * i.e. include other headers within extern "C" { scope. Bad, but this is fact.] 00030 * 00031 * Origin of problem: STLport provide proxy-headers as for C++ headers, as for C 00032 * headers. For C headers, we shouldn't expose C++ constructions, because system 00033 * headers may include each other by unexpected way (from STLport point of view). 00034 * 00035 * - ptr, 2007-04-05 00036 */ 00037 00038 #ifdef __unix 00039 # include <sys/types.h> 00040 #endif Generated on Sun May 27 2012 04:35:50 for ReactOS by
1.7.6.1
|