[Insight-developers] sys/param.h
Bill Hoffman
bill.hoffman@kitware.com
Thu, 13 Mar 2003 12:25:35 -0500
A better approach might be to use dynamic std::string for path names.
Any time you hard code this size of an array on the stack, you are asking
for trouble.
-Bill
At 11:33 AM 3/13/2003, Kent Williams wrote:
>sys/param.h is included to pick up the system constant MAXPATHLEN --
>I'm going to punt on picking it up from the environment/OS and just put a
>constant in itkIOCommon.h. This will be checked in as soon as kitware.com
>wakes up again.
>
>A 'right now' fix is to comment out the include and just #define MAXPATHLEN
>
>On Thursday 13 March 2003 02:41 am, Robert Tamburo wrote:
>> The GE Image IO related classes include param.h, i.e.
>> D:\Insight\Code\IO\itkGEImageHeader.h(21) : fatal error C1083: Cannot open
>> include file: 'sys/param.h': No such file or directory
>>
>> I don't have this file in my Visual Studio 6.0 include path. Am I supposed
>> to? If so, where can I download it?
>>
>> Thanks,
>> Rob
>>
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/insight-developers
>
>_______________________________________________
>Insight-developers mailing list
>Insight-developers@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-developers