The attached patch is necessary in order to compile bn_nist.c with Borland Builder 5. It turns off the "Condition is always true" and "Unreachable code" warnings, without which the compiler eventually drops out with a "Too many warnings" error.

Jon Bright
Silicon Circus Ltd.
--- util/pl/BC-32.pl    4 Nov 2002 06:26:37 -0000       1.14
+++ util/pl/BC-32.pl    26 Aug 2005 11:47:30 -0000
@@ -18,7 +18,7 @@
 #enable max error messages, disable most common warnings
-$cflags="-DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl  -c -tWC -tWM 
-DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_stricmp=stricmp ";
+$cflags="-DWIN32_LEAN_AND_MEAN -q -w-ccc -w-rch -w-aus -w-par -w-inl  -c -tWC 
-tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_stricmp=stricmp ";
 if ($debug)
     $cflags.="-Od -y -v -vi- -D_DEBUG";

Reply via email to