Apologies if this has been addressed already - I'm forwarding some info from 
our build engineers who are having build issues under gcc4.1.2 and icc12.1 on 
64-bit Linux.
Thanks for any suggestions/help.
-------------------------snip-------------------------

1) src/include/export.h Line 78:
  #if __GNUC__ >= 4

If it is newer than 4.1.2 this works, in 4.1.2 we get compile errors.

Larry Gritz explains it here:
http://lists.openimageio.org/pipermail/oiio-dev-openimageio.org/2013-April/005980.html

If it could be changed and rolled into 1.2 specifically, we could pick it up 
off of release branch 1.2 from GitHub, that would be great.


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;
...
compilation aborted for src/libutil/strutil.cpp (code 2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scons: *** [build/opt-debug-icc12.1_64/src/libutil/strutil.os] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reversing the variables makes the errors go away, but is this correct?

-------------------------snip-------------------------

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

Reply via email to