[Snort-users] Snort 1.8.6 Win32 Build Errors

Chris Reid Chris.Reid at ...2817...
Mon Jan 6 18:24:02 EST 2003

This was largely resolved using "#pragma" directives.  Download the 1.8.7
tarball and search for "#pragma" in all *.h and *.c files.  From memory, the
most significant reduction in warnings comes from updating snort.h.

Note that even after adding the pragmas, there are still around 20-25 or so
warnings which will be generated elsewhere in the codebase.  The snort
administrators are aware of these warnings, have investigated them (ie.
stuff like long -> short without typecast, or unsigned -> signed without
typecast), and have chosen not to update the codebase to remove the

Chris Reid

----- Original Message -----
From: "L. Christopher Luther" <CLuther at ...6333...>
To: "'Snort-Users (E-mail)'" <snort-users at lists.sourceforge.net>
Sent: Monday, January 06, 2003 4:58 PM
Subject: [Snort-users] RE: Snort 1.8.6 Win32 Build Errors

> Hash: SHA1
> Just for kicks, I removed the references to spp_minfrag.c and
> spp_tcp_stream.c from the VC++ project file, and rebuilt the Snort
> 1.8.6 binary.  I can now generate a Snort binary but I'm still
> wondering about the multitude of warnings I get on a full build (see
> the original post).
> - - Christopher

More information about the Snort-users mailing list