[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-12-17 Thread David Graf
The proposal to merge lp:~zorba-coders/zorba/clang-friend into lp:zorba has 
been updated.

Status: Needs review = Rejected

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-12-14 Thread Paul J. Lucas
If this merge is about __llvm__, why is there apparently unrelated stuff about 
collectionDecl in it?
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-20 Thread David Graf
Ghislain used cmake's xcode generator, yet. But it should also work if you just 
replace gcc with clang. I did this on linux.
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-18 Thread David Graf
 The changes look ok, but I'm not sure how to test.
 I tried to build this branch using clang on MacOS X, but it doesn't build for
 me.
 What exactly should work now that did not work before?

Hello Till

Sorry for not answering earlier. The 'defined __llvm__' condition makes Zorba 
compiling in XCode with clang/llvm. The other stuff fixes warnings.
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-18 Thread Till Westmann
I tried to build on the command line by replacing /usr/bin/c++ with 
/usr/bin/llvm-g++ (and the same for cc), but that didn't work. 
To build with XCode, is it sufficient to use CMake's XCode project generator?
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-11 Thread David Graf
Added fixes to get rid of another two warnings when compiling zorba with clang.
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-11 Thread David Graf
David Graf has proposed merging lp:~zorba-coders/zorba/clang-friend into 
lp:zorba.

Requested reviews:
  David Graf (davidagraf)
  Paul J. Lucas (paul-lucas)
  Till Westmann (tillw)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518

Added __llvm__ test because Apple LLVM compiler also does not recognize the + 
operator as a friend of zorba::rstring. 
Additionally, fixed two warnings shown when compiling zorba with clang.
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/runtime/collections/collections_impl.cpp'
--- src/runtime/collections/collections_impl.cpp	2012-04-08 21:39:25 +
+++ src/runtime/collections/collections_impl.cpp	2012-04-11 09:35:24 +
@@ -1627,7 +1627,6 @@
 PlanState planState) const
 {
   store::Collection_t  collection;
-  const StaticallyKnownCollection* collectionDecl;
   store::Item_tcollectionName;
   store::Item_tnumNodesItem;
   xs_integer   numNodes = 1;
@@ -1640,11 +1639,7 @@
   if (!consumeNext(collectionName, theChildren[0].getp(), planState))
 ZORBA_ASSERT(false);
 
-  collectionDecl = getCollection(
-  theSctx, collectionName, loc, theDynamicCollection, collection);
-
-  /* added just to remove an unused variable warning in CMake */
-	(void*)collectionDecl;
+  (void)getCollection(theSctx, collectionName, loc, theDynamicCollection, collection);
 
   if (theChildren.size()  1)
   {
@@ -1751,7 +1746,6 @@
 PlanState planState) const
 {
   store::Collection_t  collection;
-  const StaticallyKnownCollection* collectionDecl;
   store::Item_tcollectionName;
   store::Item_tnumNodesItem;
   xs_integer   numNodes = 1;
@@ -1763,11 +1757,7 @@
 
   consumeNext(collectionName, theChildren[0].getp(), planState);
 
-  collectionDecl = getCollection(
-  theSctx, collectionName, loc, theDynamicCollection, collection);
-
-	/* added just to remove an unused variable warning in CMake */
-	(void*)collectionDecl;
+  (void)getCollection(theSctx, collectionName, loc, theDynamicCollection, collection);
 
   if (theChildren.size()  1)
   {

=== modified file 'src/util/string/rstring.h'
--- src/util/string/rstring.h	2012-03-28 05:19:57 +
+++ src/util/string/rstring.h	2012-04-11 09:35:24 +
@@ -2051,7 +2051,7 @@
 
   string_data data_;
 
-#if defined _MSC_VER || defined CLANG
+#if defined _MSC_VER || defined CLANG || defined __llvm__
 //
 // Microsoft's Visual Studio C++ compiler doesn't consider the operator+()
 // functions as friends even though they're declared as such.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-11 Thread David Graf
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-11 Thread Till Westmann
Review: Needs Information

The changes look ok, but I'm not sure how to test.
I tried to build this branch using clang on MacOS X, but it doesn't build for 
me. 
What exactly should work now that did not work before?
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/101518
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Ghislain Fourny
The proposal to merge lp:~zorba-coders/zorba/clang-friend into lp:zorba has 
been updated.

Status: Needs review = Approved

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/clang-friend-2012-04-10T13-49-00.571Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue starting for merge proposal.
Log at: 
http://zorbatest.lambda.nu:8080/remotequeue/clang-friend-2012-04-10T14-30-00.688Z/log.html
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Validation queue job clang-friend-2012-04-10T14-30-00.688Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 2 Approve, 1 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-10 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/clang-friend into lp:zorba has 
been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-06 Thread David Graf
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-05 Thread Zorba Build Bot
Validation queue job clang-friend-2012-04-05T14-39-06.813Z is finished. The 
final status was:

All tests succeeded!
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-05 Thread Zorba Build Bot
Voting does not meet specified criteria. Required: Approve  1, Disapprove  1, 
Needs Fixing  1, Pending  1. Got: 2 Pending.
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-05 Thread Zorba Build Bot
The proposal to merge lp:~zorba-coders/zorba/clang-friend into lp:zorba has 
been updated.

Status: Approved = Needs review

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


Re: [Zorba-coders] [Merge] lp:~zorba-coders/zorba/clang-friend into lp:zorba

2012-04-05 Thread Till Westmann
Review: Approve


-- 
https://code.launchpad.net/~zorba-coders/zorba/clang-friend/+merge/100978
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp