[sane-devel] Can I use c++ in sane-backend programing?
Henning Meier-Geinitz
henning at meier-geinitz.de
Mon Oct 10 18:32:29 UTC 2005
Hi,
On Mon, Oct 10, 2005 at 03:17:27PM +0000, kenwhale wrote:
> I read backend-writing.txt in www.sane-project.org. It says:
> * Use only ANSI C for your backend. C99 is not supported by the
> compilers of some older platforms so please avoid using its features.
> Does that mean I must write my backend in c and can't use c++ ?
You can use any language you wish for your backend. However, if you
want it to be part of the sane-backends distribution, please use C only.
Even if we'd add a check for c++ in configure.in and compile the
backend conditionally, you can't be sure that you don't get all sorts
of compatibility problems with old c++ compilers.
Have alook at our supported platforms page to get an idea on what kind
of software SANE has already been built:
http://www.sane-project.org/sane-support.html
Bye,
Henning
More information about the sane-devel
mailing list