[ITK] [ITK-dev] Function-style preprocessor definitions

Brad King brad.king at kitware.com
Fri Jan 30 16:43:16 EST 2015


On 1/30/2015 4:14 PM, Matt McCormick wrote:
> I have been able to reproduce it.  It seems to be related to this change:
> 
>   http://review.source.kitware.com/#/c/18944/1
> 
> Without the above change, errors occur on Windows, when
> ${ITKVtkGlue_VTK_DEFINITIONS} has content.  On Unix, when it does not
> have content, it appears to cause issues with the above change.

The problem is that the variable should not be evaluated during
generation.  A literal reference to the variable should be generated.
Here is a fix:

 http://review.source.kitware.com/19065

-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.php

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://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list