28.01.2020 09:52, Alex Peshkoff via Firebird-devel wrote:
Currently that will not work. We have
#define isc_spb_rpr_commit_trans        15
notation in consts_pub.h which is unaffected by namespace. And we need it cause .h file may be used in plain C code.

That's why modern headers used to contain two sections separated by "ifdef __cplusplus": one with traditional defines and second with constants.

Afraid that (provided previous issues are solved) they will conflict if someone 
has
using namespace Firebird;
after including 2 different headers.

  Yep, I was wrong about that.

  Nevermind.

--
  WBR, SD.


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to