[Snort-devel] Bug Report: Solaris/Sparc + native compiler will not build
cmg at ...402...
Wed Apr 23 10:33:12 EDT 2003
"Taso N. Devetzis" <devetzis at ...1941...> writes:
> A couple GNU bogosities prevent building with the Sun Forte compiler
> 1. __FUNCTION__ is a GNU extension (I believe the ISO C99 standard is
> __func__). Added checks to configure.in.
> 2. Compound statements as expressions is a GNU extension. This
> affects the EXTRACT_32BITS(p) macro in particular. Added explicit
> function and prototype to decode.[ch] (yes, the irony here is that
> it appears this macro was added to work around a SIGBUS on
> optimised sparc code in the first place). NOTE: this function
> should probably be inlined, but it is not in the patch below.
> Builds and runs great with this patch on the platform above.
Thanks, these patches look good.
Chris Green <cmg at ...402...>
Laugh and the world laughs with you, snore and you sleep alone.
More information about the Snort-devel