Page 1 of 1

Ambiguities problem

Posted: Fri 28 Apr 2006 09:05
by Milan Bacik
Using C++ Builder in BDS 2006 Profesional.
What is proper order of includes headers to avoid ambiguities in DB classes like [C++ Error] fDMCert.cpp(39): E2015 Ambiguity between 'pdInput' and 'Craccess::pdInput'
Currently using BDE, ADO and testing ODAC. I want to create separate header for DBheders used in project like AllDBHeaders.h which i include in all classes that use DB.

Posted: Fri 28 Apr 2006 14:43
by Challenger
Changing order of includes doesn't solve this problem. So you should specify namespace before name of type or constant.