]> git.tdb.fi Git - builder.git/blob - source/gnucxxcompiler.h
Prevent crashes if a tool's executable cannot be found
[builder.git] / source / gnucxxcompiler.h
1 #ifndef GNUCXXCOMPILER_H_
2 #define GNUCXXCOMPILER_H_
3
4 #include "gnucompiler.h"
5
6 /**
7 The GNU C++ compiler, commonly known as g++.
8 */
9 class GnuCxxCompiler: public GnuCompiler
10 {
11 public:
12         GnuCxxCompiler(Builder &, const Architecture &);
13 private:
14         void query_version();
15
16 public:
17         virtual Target *create_source(const Component &, const Msp::FS::Path &) const;
18         virtual Target *create_source(const Msp::FS::Path &) const;
19 };
20
21 #endif