summaryrefslogtreecommitdiff
path: root/quality
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:35:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:35:40 +0200
commit18f9d68e494d3a2df33b6a18f5e39abb99ed0f5c (patch)
tree005c29b7506a9244044b94f9ec7f8d68600a0334 /quality
parentcbcb0bdbe761e1930d2c08316866fd6ec7c833fb (diff)
Add few code quality improvement ideas
Diffstat (limited to 'quality')
-rw-r--r--quality/list13
1 files changed, 13 insertions, 0 deletions
diff --git a/quality/list b/quality/list
index 795e35f..2e16fbf 100644
--- a/quality/list
+++ b/quality/list
@@ -1,3 +1,16 @@
+! Define DATABASE_* in common/config.hxx if ODB_DATABASE_* is defined
+
+ Can then use one set of macros in both headers and the driver in
+ tests. Currently have to use ODB_DATABASE_* in headers because
+ with VC++ the DATABASE_* ones are defined by the project for the
+ C++ compiler only.
+
+ Need to be careful with multi-database case (DATABASE_COMMON).
+
+! GCC 4.9 (at least) allows multiple equal signs in plugin options
+
+ Can get rid of that ugly backspace escaping.
+
- Inconsistent id() vs direct access use in generated code
The same for version().