From 18f9d68e494d3a2df33b6a18f5e39abb99ed0f5c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 Feb 2015 16:35:40 +0200 Subject: Add few code quality improvement ideas --- quality/list | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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(). -- cgit v1.1