Browse files

Xcode 4.3 compatibility checkin

The Xcode 4.3 compiler shows the method CreateArrayRSSetObject is unused and,
due to -Werror being specified as a compilation option, the compilation fails.

This patch comments out the method and has also been tested on an Ubuntu
10.04 build as well as Xcode 4.3 and neither generated compilation issues
which indicates the method isn't needed.

Signed-off-by: Al Sutton <>
  • Loading branch information...
1 parent 6e3e338 commit ae08ce6e0901f7c514fd0a3cb7e36b13c6b5cbc5 Al Sutton committed with LoungeKatt Feb 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 slang_rs_object_ref_count.cpp
@@ -831,7 +831,7 @@ static clang::Stmt *CreateStructRSSetObject(clang::ASTContext &C,
clang::SourceLocation StartLoc,
clang::SourceLocation Loc);
-static clang::Stmt *CreateArrayRSSetObject(clang::ASTContext &C,
+/*static clang::Stmt *CreateArrayRSSetObject(clang::ASTContext &C,
clang::Expr *DstArr,
clang::Expr *SrcArr,
clang::SourceLocation StartLoc,
@@ -987,7 +987,7 @@ static clang::Stmt *CreateArrayRSSetObject(clang::ASTContext &C,
new(C) clang::CompoundStmt(C, StmtArray, StmtCtr, Loc, Loc);
return CS;
+} */
static clang::Stmt *CreateStructRSSetObject(clang::ASTContext &C,
clang::Expr *LHS,

0 comments on commit ae08ce6

Please sign in to comment.