Proposed platform assumption changes

Sam Hartman hartmans at MIT.EDU
Mon Jan 30 12:26:36 EST 2012


>>>>> "Nico" == Nico Williams <nico at cryptonector.com> writes:

    Nico> Second, assuming you have a C99 compiler on some of the
    Nico> platforms that you build for (MIT does) you get the benefit of
    Nico> safety checking from the compiler.  This matters when you have
    Nico> several fields of the same type in a struct, which w/o
    Nico> designated initializers makes it too easy to assign the wrong
    Nico> values to fields.

One significant downside of this macro is that it doesn't catch ordering
problems when built with a c99 compiler.  So, if most of your platforms
are c99 but some are not, you can introduce significant lack-of-safety
through minimizing testing of the non-c99 platforms.


More information about the krbdev mailing list