LegionEmulationProject / TrinityCore

Based On TrinityCore Open Source MMO Framework (7.3.5v2 = 7.3.5.26972, HybridV2 = 7.3.5.26972)
GNU General Public License v2.0
8 stars 4 forks source link

error: no type named 'ostream' in namespace 'std' #60

Closed ntlf9t closed 1 year ago

ntlf9t commented 1 year ago

/TrinityCore/src/server/game/Entities/Object/ObjectGuid.h:209:29: error: no type named 'ostream' in namespace 'std' friend TC_GAME_API std::ostream& operator<<(std::ostream& stream, ObjectGuid const& guid);


/TrinityCore/src/server/game/Entities/Object/ObjectGuid.h:209:54: error: no type named 'ostream' in namespace 'std'
    friend TC_GAME_API std::ostream& operator<<(std::ostream& stream, ObjectGuid const& guid);
                                                ~~~~~^
/TrinityCore/src/server/game/Entities/Object/ObjectGuid.h:327:14: error: no type named 'string' in namespace 'std'
        std::string ToString() const;
        ~~~~~^
/TrinityCore/src/server/game/Entities/Object/ObjectGuid.h:402:18: error: no type named 'ostream' in namespace 'std'
TC_GAME_API std::ostream& operator<<(std::ostream& stream, ObjectGuid const& guid);
            ~~~~~^
/TrinityCore/src/server/game/Entities/Object/ObjectGuid.h:402:43: error: no type named 'ostream' in namespace 'std'
TC_GAME_API std::ostream& operator<<(std::ostream& stream, ObjectGuid const& guid);
                                     ~~~~~^
5 errors generated.
ntlf9t commented 1 year ago

#include <string>