[krbdev.mit.edu #3088] CVS Commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #3088] CVS Commit

Greg Hudson via RT
By default, a non-GCC configuration will not optimize during the build.  The
Solaris C compiler will always output functions defined as "inline", at least
when not optimizing, even if they're never used.  With recent changes on the
trunk, k5_call_init_function will cause the support library to be required on
Solaris by every program that includes k5-platform.h.  This patch should fix
that.

* k5-platform.h (MAYBE_DEFINE_CALLINIT_FUNCTION) [DELAY_INITIALIZER]: New
macro.  If not __GNUC__, define k5_call_init_function in the expansion;
otherwise, do nothing.
(MAKE_INIT_FUNCTION) [DELAY_INITIALIZER]: Use it.
(k5_call_init_function): Don't define function form at top level.


To generate a diff of this commit:



        cvs diff -r1.503 -r1.504 krb5/src/include/ChangeLog
        cvs diff -r1.13 -r1.14 krb5/src/include/k5-platform.h
_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs