oldcpp is not building

Aleix Pol aleixpol at kde.org
Sat Jun 27 02:47:44 UTC 2015


Hi,
Can anybody take a look at this compilation failure?

It's been reported by other people as well.

Thanks!
Aleix

compiling cpppreprocessenvironment.cpp (c++)
/home/kde-devel/frameworks/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:
In member function ‘void CppPreprocessEnvironment::merge(const
ReferenceCountedMacroSet&)’:
/home/kde-devel/frameworks/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:102:67:
error: ‘Utils::StorableSet<rpp::pp_macro, Cpp::MacroIndexConversion,
Cpp::StaticMacroSetRepository, true,
Cpp::StaticMacroSetRepository::Locker>::Iterator {aka class
Utils::ConvenientIterator<rpp::pp_macro, Cpp::MacroIndexConversion>}’
has no member named ‘ref’
         rpp::Environment::setMacro(const_cast<rpp::pp_macro*>(&it.ref()));
//Do not use our overridden setMacro(..), because addDefinedMacro(..)
is not needed(macro-sets should be merged separately)
                                                                   ^
/home/kde-devel/frameworks/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:104:17:
error: ‘Utils::StorableSet<rpp::pp_macro, Cpp::MacroIndexConversion,
Cpp::StaticMacroSetRepository, true,
Cpp::StaticMacroSetRepository::Locker>::Iterator {aka class
Utils::ConvenientIterator<rpp::pp_macro, Cpp::MacroIndexConversion>}’
has no member named ‘ref’
         if( !it.ref().isUndef() )
                 ^
/home/kde-devel/frameworks/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:105:36:
error: ‘Utils::StorableSet<rpp::pp_macro, Cpp::MacroIndexConversion,
Cpp::StaticMacroSetRepository, true,
Cpp::StaticMacroSetRepository::Locker>::Iterator {aka class
Utils::ConvenientIterator<rpp::pp_macro, Cpp::MacroIndexConversion>}’
has no member named ‘ref’
           m_macroNameSet.insert(it.ref().name);
                                    ^
/home/kde-devel/frameworks/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:107:36:
error: ‘Utils::StorableSet<rpp::pp_macro, Cpp::MacroIndexConversion,
Cpp::StaticMacroSetRepository, true,
Cpp::StaticMacroSetRepository::Locker>::Iterator {aka class
Utils::ConvenientIterator<rpp::pp_macro, Cpp::MacroIndexConversion>}’
has no member named ‘ref’
           m_macroNameSet.remove(it.ref().name);
                                    ^
/home/kde-devel/frameworks/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:
In member function ‘void CppPreprocessEnvironment::merge(const
Cpp::EnvironmentFile*, bool)’:
/home/kde-devel/frameworks/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:118:65:
error: ‘Utils::StorableSet<rpp::pp_macro, Cpp::MacroIndexConversion,
Cpp::StaticMacroSetRepository, true,
Cpp::StaticMacroSetRepository::Locker>::Iterator {aka class
Utils::ConvenientIterator<rpp::pp_macro, Cpp::MacroIndexConversion>}’
has no member named ‘ref’
       rpp::Environment::setMacro(const_cast<rpp::pp_macro*>(&it.ref()));
//Do not use our overridden setMacro(..), because addDefinedMacro(..)
is not needed(macro-sets should be merged separately)
                                                                 ^
ninja: build stopped: subcommand failed.
*** Failure: Exit code 1 ***


More information about the KDevelop-devel mailing list