X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.h;h=042199e54b79342c10e967f7b6de00a6e474554c;hb=c194bac9d508999c046a1f56c80b9419f77a8590;hp=93e2196189ca1f110f3a7d5774f4523420f03a28;hpb=7ed7c30ee0ceb734f17fe0c6d4bc6d37fb2ab5a7;p=builder.git diff --git a/source/tool.h b/source/tool.h index 93e2196..042199e 100644 --- a/source/tool.h +++ b/source/tool.h @@ -32,6 +32,7 @@ protected: SuffixList aux_suffixes; SearchPath system_path; bool prepared; + std::list problems; Tool(Builder &, const std::string &); Tool(Builder &, const Architecture &, const std::string &); @@ -91,6 +92,8 @@ protected: void set_executable(const std::string &command, bool cross = false); public: + const std::list &get_problems() const { return problems; } + /** Invokes the tool to build a target. This should not be called directly; use Target::build() instead. */ virtual Task *run(const Target &) const = 0;