[Insight-developers] ITK convention between #include "" and #include <>

Sean McBride sean at rogue-research.com
Fri Jun 25 17:20:32 EDT 2010


Karthik,

Well, I have used the power of grep to change ~700 #include <itk...> to
#include "itk..." the only ones I didn't change are #include <itksys...>
which I will leave alone.

I've done this in a clean working copy, and will try building it with
various build options before committing.  It's a rather scary number of
changed files. :)

Sean



On Thu, 24 Jun 2010 08:36:42 +0530, Karthik Krishnan said:

>Indeed, it does appear to be done with both conventions, more so with "<".
>I'm really not sure.
>
>  grep -R "include *<itksys" . | wc -l && grep -R "include *\"itksys" . | wc
>-l
>
>      72
>      14
>
>
>On Wed, Jun 23, 2010 at 7:43 PM, Sean McBride <sean at rogue-research.com>wrote:
>
>> On Wed, 23 Jun 2010 12:07:59 +0530, Karthik Krishnan said:
>>
>> >In general its, <> for system includes (STL etc) and " for the others.
>>
>> Karthik,
>>
>> Does itksys count as a 'system include'?  Mostly seems to be done with
>> <> but sometimes "".




More information about the Insight-developers mailing list