OK, one more thing to try:

#ifdef __ICC
    XXX
#elif defined(va_copy)
    va_copy (apsave, ap);
#else
    apsave = ap;
#endif


and try a couple things for XXX:

1.  ::va_copy (apsave, ap);       /* Note: double colon at the beginning */
2.  __builtin_va_copy (apsave, ap);   /* Note: two underscores at the front */

And of course, the analogous (but reversed!) thing at the other juncture near 
the end of the function.




On Nov 6, 2013, at 3:59 PM, Jonathan Egstad <[email protected]> wrote:

> However the icc one is still problematic - the build guys are trying some 
> more things but wanted to give you this feedback:
> 
>> 2. in src/libutil/strutil.cpp with his suggested change
>> #if defined(va_copy) || defined(__ICC)
>> 
>> we get the following error with icc_12.1_64 under opt-debug:
>> 
>> src/libutil/strutil.cpp(94): error: identifier "va_copy" is undefined
>>           va_copy (apsave, ap);
>>           ^
>> 
>> We can continue to test suggestions for ICC if he has more things he wants 
>> to try.
> 
> 
> Thanks,
> -jonathan
> 

--
Larry Gritz
[email protected]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to