[Cmake] RE: suppressing warnings on bcc

Brad King brad.king at kitware.com
Tue, 24 Feb 2004 12:06:42 -0500


Wheeler, Frederick W (Research) wrote:
> CMake List:
> 
> In VXL we're having a small problem turning off certain Borland warnings for
> a certain file.  You can see below how Ian added the -w-8004 option for the
> file file_formats/vil_dicom.cxx.  This had no effect.  The reason seems to
> be the command line option order.

I'm pretty sure borland supports something like this:

#ifdef __BORLANDC__
# pragma warn -8004
#endif

This could be added to the affected source files.

-Brad