libftdi Archives

Subject: Re: [PATCH] added function-call to access version information

From: Martin Zenzes <mzenzes@xxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 09 Jul 2010 15:45:09 +0200
Hi Thomas,

> Here's a small list of things to talk about:

thanks for your input.

> - Rename ftdi_library_version() to ftdi_get_library_version()


> - Maybe add a "char *snapshot_version" which can return NULL / empty string?
>    See

done/TODO. Added "char snapshot_version[8]" (fix-sized array to prevent
possible memory-leaks, is just set completely to zero in the
moment...?). How to say cmake to invoke a shell-script at buildtime to
dynamically define #defines in the header file?

> - Provide autoconf support


> - Remove the "baudrate" change not supposed to be in there ;)


> Regarding the third point, we could just apply this patch
> to libftdi 1.x and drop the autoconf support completly. So libftdi 0.x
> would be put in maintenance mode and only receive bug fixes.

I'm not in the position to decide something in this issue, but it seems
to me that supporting different build-methods is confusing and
error-prone to new users... At least it was to me ;)


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Attachment: 0001-added-function-call-get-version-information.patch
Description: Text Data

Current Thread