
Hi,
we have just released version 0.4.6 of libsmi. Despite the usual number of bug fixes, this release contains some new code:
- An implementation of RFC 3780 (the SMIng core) replacing the now historic SMIng parser together with an extended API to support SMIng.
- An smidump backend which turns SMIv1/SMIv2 modules into YANG modules.
It might take some while until package maintainers switch to the new version. As usual, you can get the source from
ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/libsmi-0.4.6.tar.gz
or the subversion directory directly.
/js

Juergen Schoenwaelder wrote:
Hi,
we have just released version 0.4.6 of libsmi. Despite the usual number of bug fixes, this release contains some new code:
At their leisure, would someone like to go through the code and remove all the C99-isms and C++ comments?
Also MSVC doesn't define INT32_MIN, INT32_MAX or UINT32_MAX. They are INT_MIN, INT_MAX and UINT_MAX so similar wrapping is required as for 64 bit ints.
The unneccessary C99 code (declarations after the first executable statement) doesn't compile pre-C99, or with MSVC.
Some compilers require to be told to accept C++ comments incorrectly used in C. We don't all use gcc.

On Sat, Mar 01, 2008 at 11:58:33PM +1100, Andrew Hood wrote:
At their leisure, would someone like to go through the code and remove all the C99-isms and C++ comments?
Also MSVC doesn't define INT32_MIN, INT32_MAX or UINT32_MAX. They are INT_MIN, INT_MAX and UINT_MAX so similar wrapping is required as for 64 bit ints.
The unneccessary C99 code (declarations after the first executable statement) doesn't compile pre-C99, or with MSVC.
I have done some of this; I don't declare this to be complete. Some help from people who work with non C99 compilers may help.
/js
participants (2)
-
Andrew Hood
-
Juergen Schoenwaelder