
1 Mar
2008
1 Mar
'08
1:58 p.m.
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.
--
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who