According to Lv Meng's patch "Fix compile warnings for icc compiler", in c++0x std::auto_ptr will be deprecated in favor of std::unique_ptr. + std::auto_ptr<Module> M; + + /* Before do any thing, we first filter in all CL functions in bitcode. */ + M.reset(runBitCodeLinker(cl_mod)); + if (!module) + delete cl_mod;
_______________________________________________ Beignet mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/beignet
