Hi! 18-Ноя-2004 11:20 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to [EMAIL PROTECTED]:
LG> Suppress TC++ 1.01 warnings (BC++ 3/4/5 not affected!) and MSC LIB prompt LG> +++ portab.h 18 Nov 2004 11:20:03 -0000 1.31.2.4 LG> @@ -66,6 +66,14 @@ LG> +#if __TURBOC__ < 0x400 /* targeted to TC++ 1.0 which is 0x297 (3.1 is 0x410) */ LG> +#pragma warn -pia /* possibly incorrect assignment */ LG> +#pragma warn -sus /* suspicious pointer conversion */ LG> +/* LG> + * NOTE: The above enable TC++ to build the kernel, but it's not recommended LG> + * for development. Use [Open]Watcom (the best!) or newer Borland compilers! LG> + */ LG> +#endif May I ask which places cause warnings, which are turned off here (I don't have TCPP1 to check this)? May be better to "fix" (for example, by adding castings) those places instead turning off warnings at all? ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel