Proposed platform assumption changes

Simo Sorce simo at
Sat Jan 28 16:17:09 EST 2012

On Sat, 2012-01-28 at 09:51 -0800, Danilo Almeida wrote:
> Greg,
> Everything you said made sense to me w/a couple of exceptions:
> 1) aborting malloc: I am opposed to this change.  By having malloc
> abort, it makes any process using krb5 unable to deal with memory
> pressure.  It is not universally acceptable to force processes to
> abort just because of memory pressure.

+1 on this.

> 2) field initializers: I think that it is important for krb5 to keep
> supporting MSVC.  I would defer changing this until MS releases a
> compiler w/support for this.  (I am not sure as to the current status
> and future support for this from MS.  I know that they had some post
> w/changes in the next compiler (to be released this year, IIRC), but I
> did not find it.)

-1 on this, apparently MS has decided not to care for C99 so it would
mean waiting forever. I would strongly suggest researching if mingw is a
possible candidate, as MSVC is keeping us chained to a sub-optimal
feature set and preventing better code.
(Also mingw allows for easy cross compiling on a Linux machine so that
you don't have to run windows just to hand out binaries, not sure how
much work would be necessary to allow proper cross compiling but that
too would be really helpful).


Simo Sorce * Red Hat, Inc * New York

More information about the krbdev mailing list