[Beignet] [PATCH] [PATCH_V2]Fix compile warnings for ICC compiler

Song, Ruiling ruiling.song at intel.com
Mon Aug 11 19:54:41 PDT 2014


You can directly remove useless code. Leave them as a comment is not a good idea here.

     llvm::SMDiagnostic Err;
-    std::auto_ptr<Module> M;
+    //In C++0x std::auto_ptr will be deprecated in favor of std::unique_ptr
+    //std::auto_ptr<Module> M;
+    std::unique_ptr<Module> M;
+



More information about the Beignet mailing list