Hi Yuri,

>> Does it suffice if you add the -std=c++0x option to the OS/2 build?

I'm getting build issues even before, e.g. while building sal. e.g. in
stl/hash_map

#ifdef STLP4_EMUBASE_NS
        using STLP4_EMUBASE_NS::hash;
        using STLP4_EMUBASE_NS::unordered_map;
        using STLP4_EMUBASE_NS::unordered_multimap;
        #undef STLP4_EMUBASE_NS
#endif

are found already defined in standard stdc++ headers.

I'm not sure I understand: Is the STLP4_EMUBASE_NS macro already defined in the standard stdc++ headers? Or are the "using *::hash" etc. already done in the std headers?

should NO_STLPORT4_EMULATION be defined or not?

The main codebase still needs the stlport4 emulation, so it should not be disabled (i.e. the macro should not be defined). Enabling the macro will help later to find stlport dependent stuff when the main codebase gets converted to use standard C++ template libraries.

Herbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to