Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: msvc Warning : unreferenced inline function removed (ot)

Author: Dann Corbit

Date: 09:47:20 12/28/01

Go up one level in this thread


On December 28, 2001 at 10:33:37, Georg v. Zimmermann wrote:

>Hi,
>
>using MSVC and setting warnings to level 4 I get flooded by the Compiler Warning
>(level 4) C4514.
>
>This happens since I have some structures (see below for example) that are used
>in almost all source files, but where only part of the functions are used in
>each.
>
>What is the correct/clean way to avoid this problem ? I hate to just turn off
>warnings. Thanks for any advice.

You could use a pragma to turn of a specific warning for a file.
Personally, I just ignore warnings I know are unimportant.  I run LCLint on my C
code and PC-Lint on my C++, so I am used to ignoring stuff I know is not
important.  You'll never get rid of every LCLint burble.  Once you figure out
when it is confused or being idiotic, you just ignore the stupid warnings and
listen to the good ones.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.