[Snort-devel] Win32 port of barnyard

Frank Knobbe FKnobbe at ...339...
Thu Sep 6 22:25:02 EDT 2001


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




More information about the Snort-devel mailing list