Snort mailing list archives

RE: Snort 1.8.6 Win32 Build Errors


From: "L. Christopher Luther" <CLuther () Xybernaut com>
Date: Tue, 7 Jan 2003 14:58:53 -0500

Thanks, Chris.  I had the 1.8.7 source on hand already.  BTW, nice cleanup
on the VC++ code.  

- Christopher


-----Original Message-----
From: Chris Reid [mailto:Chris.Reid () CodeCraftConsultants com]
Sent: Monday, January 06, 2003 9:21 PM
To: L. Christopher Luther; 'Snort-Users (E-mail)'
Subject: Re: [Snort-users] Snort 1.8.6 Win32 Build Errors



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
warnings.

Chris Reid


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



-----BEGIN PGP SIGNED MESSAGE-----
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


Current thread: