summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/odb.cxx1
-rw-r--r--odb/plugin.cxx4
2 files changed, 1 insertions, 4 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx
index 70fc8f2..fe6a0e4 100644
--- a/odb/odb.cxx
+++ b/odb/odb.cxx
@@ -52,6 +52,7 @@ main (int argc, char* argv[])
args.push_back ("-x");
args.push_back ("c++");
args.push_back ("-S");
+ args.push_back ("-DODB_PLUGIN");
args.push_back ("-fplugin=" + plugin);
for (int i = 1; i < argc; ++i)
diff --git a/odb/plugin.cxx b/odb/plugin.cxx
index b1faa32..a8b8ddf 100644
--- a/odb/plugin.cxx
+++ b/odb/plugin.cxx
@@ -41,10 +41,6 @@ int plugin_is_GPL_compatible;
// TODO:
//
-//
-// * Can plugin define a macro which can then be tested in the code?
-// A wrapper that calls g++ with plugin can do that easily.
-//
// * Will need to disable as many warnings as possible.
//
// * How am I going to handle a case where the type of a private