OK, I'm wondering if maybe on icc you do want to call va_copy, but unlike gcc it is not a macro.
Can you just change #ifdef va_copy to #if defined(va_copy) || defined(__ICC) and see if that helps? I don't have icc handy, so I can't test this myself. On Oct 29, 2013, at 3:18 PM, Jonathan Egstad <[email protected]> wrote: > 2) libutil/strutil.cpp Line 94: > #ifdef va_copy > va_copy (apsave, ap); > #else > apsave = ap; > #endif > > apsave = ap; causes compilation errors under icc12.1-64bit but not gcc: > src/libutil/strutil.cpp(94): error: expression must be a modifiable lvalue > apsave = ap; > -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
