With svn revision 864, there are these build errors on Ubuntu Linux 10.10 64
bit / GCC 4.4.5, patch attached to solve them.
/home/brecht/dev/osl/src/liboslcomp/oslcomp.cpp: In member function
‘std::string OSL::pvt::OSLCompilerImpl::retrieve_source(ustring, int)’:
/home/brecht/dev/osl/src/liboslcomp/oslcomp.cpp:678: error: ignoring return
value of ‘char* fgets(char*, int, FILE*)’, declared with attribute
warn_unused_result
/home/brecht/dev/osl/src/liboslcomp/osllex.l: In function ‘void
preprocess(const char*)’:
/home/brecht/dev/osl/src/liboslcomp/osllex.l:261: error: invalid conversion
from ‘const char*’ to ‘char*’
Also this warning when including <OSL/oslquery.h>:
/home/brecht/dev/osl/dist/linux64/include/OSL/oslquery.h: In member function
‘const OSL::OSLQuery::Parameter* OSL::OSLQuery::getparam(size_t) const’:
/home/brecht/dev/osl/dist/linux64/include/OSL/oslquery.h:111: warning:
comparison of unsigned expression < 0 is always false
Original issue reported on code.google.com by brechtva...@gmail.com on 25 Nov 2010 at 4:28
Original issue reported on code.google.com by
brechtva...@gmail.com
on 25 Nov 2010 at 4:28Attachments: