[Insight-developers] Suggestion on correcting the following warning

Williams, Norman K norman-k-williams at uiowa.edu
Fri Jul 8 13:08:31 EDT 2011


QED: http://review.source.kitware.com/#change,2049


On 7/8/11 11:20 AM, "Bradley Lowekamp" <blowekamp at mail.nih.gov> wrote:

>I see the following warning, I would like to fix:
>http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=1313872
>
>It comes from this little file which has an optional definition of a
>static variable:
>http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/Core/Common/src/itk_hasht
>able.cxx;h=b53eed69e2313a8a63657bc77d6ffd7512deae93;hb=HEAD
>
>So when it's not defined, the .o module has not symbols.
>
>It would be good to correct the way we build so as not to build an
>"empty" file. The logic of when the variable is defined is rather complex
>and can't be determined by CMake and add source time.
>
>Posible solutions are:
>1) add another variable to the file that isn't used
>2) moved the definition of the variable to another file ( which always
>has a symbol )
>3) just suppress this warning, so I'll always seeing in my editor, and
>may result in me ignoring other warnings too. ( not my preferred option )
>
>Any suggestions about the best solution?
>
>Thanks,
>Brad
>_______________________________________________
>Powered by www.kitware.com
>
>Visit other Kitware open-source projects at
>http://www.kitware.com/opensource/opensource.html
>
>Kitware offers ITK Training Courses, for more information visit:
>http://kitware.com/products/protraining.html
>
>Please keep messages on-topic and check the ITK FAQ at:
>http://www.itk.org/Wiki/ITK_FAQ
>
>Follow this link to subscribe/unsubscribe:
>http://www.itk.org/mailman/listinfo/insight-developers



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-developers mailing list