[Snort-devel] Win32 port of barnyard

Michael Davis mike at ...27...
Fri Sep 7 08:09:03 EDT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It is probably an include file in windows that include afx.h.

I am not familiar with barnyard but are you sure you created a NON
MFC Workspace?

Lastly, to fix the problem put all the code in a extern "C" { }
Block.

That should fix it.

Michael Davis
Chief Technical Officer
Data Nerds, LLC.
http://www.datanerds.net

- ----- Original Message ----- 
From: "Frank Knobbe" <FKnobbe at ...339...>
To: <snort-devel at lists.sourceforge.net>
Sent: Friday, September 07, 2001 12:24 AM
Subject: [Snort-devel] Win32 port of barnyard


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Alrighty then...
> 
> the Win32 port of barnyard is almost done. There is just one minor
> issue where I would like to solicit help from my fellow Win32 VC++
> users.
> 
> For some weird reason, I get following errors:
> 
> dp_plugbase.c
> c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(15)
> : fatal error C1189: #error :  MFC requires C++ compilation (use a
> .cpp suffix)
> op_decode.c
> c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(15)
> : fatal error C1189: #error :  MFC requires C++ compilation (use a
> .cpp suffix)
> 
> It appears like the compiler recognizes them somehow as C++ files
> and complains about the extension. I tried to trace it, but can not
> find what in the #$%#$@ includes afx.h... there is no C++ code as
> far as I can tell, and there should be no reason for that header to
> be
> included.
> 
> If anyone has seen this before, please let me know.
> 
> Thanks,
> Frank
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Personal Privacy 6.5.8
> Comment: Free Dmitry Sklyarov !
> 
> iQA/AwUBO5haFpytSsEygtEFEQKS3gCgyuh+wti3NkLsAK9LKGOLrQJEUfcAn3nC
> uikMSuD/XLT6+YhwryUXD7z/
> =Akgs
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBO5ji9fiUqZ9dnoKsEQJH4ACffn+hLhG+CdIAzj8vOfwZOd//xqsAoIV4
ZZ2aW9YCePNFB6MG/vKMkgb4
=1v34
-----END PGP SIGNATURE-----






More information about the Snort-devel mailing list