Hello,
I have Clasp built and running on 10.9.4 using XCode 6. Before going into detail, I wanted to briefly inquire if at present demo-clasp-cxx is expected to build, if so with what branch of Clasp? It used to be the preview branch but I noticed that elements of preview, most notably SICL et al are now in master.
Please advice
Best Regards
Chris Kohlhepp
Now the detail. What I'm seeing is this:
n file included from helloWorld.cc:5: In file included from /Applications/Clasp/clasp/src/include/clasp.h:2: In file included from /Applications/Clasp/clasp/include/clasp/core/../clbind/clbind.h:34: In file included from /Applications/Clasp/clasp/include/clasp/clbind/class.h:147: In file included from /Applications/Clasp/clasp/include/clasp/clbind/constructor.h:265: /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: error: redefinition of 'VariadicFunctoid<type-parameter-0-1 (*)(type-parameter-0-2, type-parameter-0-3, type-parameter-0-4, type-parameter-0-5, type-parameter-0-6, type-parameter-0-7, type-parameter-0-8, type-parameter-0-9, type-parameter-0-10, type-parameter-0-11, type-parameter-0-12, type-parameter-0-13, type-parameter-0-14, type-parameter-0-15, type-parameter-0-16, type-parameter-0-17), type-parameter-0-0>' class VariadicFunctoid ^~~~~~~~~~~~~~~~ /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: note: previous definition is here class VariadicFunctoid ^
Looks to me like this header is included twice as both references are the same. This header contains no header guards or pragma once statement. It also claims to be generated which means one really should not add those to the source.
Best Regards
Chris Kohlhepp
On 30/06/2015 7:56 am, Chris Kohlhepp wrote:
Hello,
I have Clasp built and running on 10.9.4 using XCode 6. Before going into detail, I wanted to briefly inquire if at present demo-clasp-cxx is expected to build, if so with what branch of Clasp? It used to be the preview branch but I noticed that elements of preview, most notably SICL et al are now in master.
Please advice
Best Regards
Chris Kohlhepp
Elaboration: Adding #pragma once fixes this problem. Maybe add this to upstream generator "pump.py clbind_functoids.pmp"?
Chris K
On 30/06/2015 8:09 am, Chris Kohlhepp wrote:
Now the detail. What I'm seeing is this:
n file included from helloWorld.cc:5: In file included from /Applications/Clasp/clasp/src/include/clasp.h:2: In file included from /Applications/Clasp/clasp/include/clasp/core/../clbind/clbind.h:34: In file included from /Applications/Clasp/clasp/include/clasp/clbind/class.h:147: In file included from /Applications/Clasp/clasp/include/clasp/clbind/constructor.h:265: /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: error: redefinition of 'VariadicFunctoid<type-parameter-0-1 (*)(type-parameter-0-2, type-parameter-0-3, type-parameter-0-4, type-parameter-0-5, type-parameter-0-6, type-parameter-0-7, type-parameter-0-8, type-parameter-0-9, type-parameter-0-10, type-parameter-0-11, type-parameter-0-12, type-parameter-0-13, type-parameter-0-14, type-parameter-0-15, type-parameter-0-16, type-parameter-0-17), type-parameter-0-0>' class VariadicFunctoid ^~~~~~~~~~~~~~~~ /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: note: previous definition is here class VariadicFunctoid ^
Looks to me like this header is included twice as both references are the same. This header contains no header guards or pragma once statement. It also claims to be generated which means one really should not add those to the source.
Best Regards
Chris Kohlhepp
On 30/06/2015 7:56 am, Chris Kohlhepp wrote:
Hello,
I have Clasp built and running on 10.9.4 using XCode 6. Before going into detail, I wanted to briefly inquire if at present demo-clasp-cxx is expected to build, if so with what branch of Clasp? It used to be the preview branch but I noticed that elements of preview, most notably SICL et al are now in master.
Please advice
Best Regards
Chris Kohlhepp
Chris,
The master branch hasn’t been updated for a while - there have been lots of development and I’ve been wrestling them into shape so that I can do another release.
I’m not quite ready yet but you could try building the 0.3-test-6 tag.
Come join us in #clasp if you want more details.
Best,
.Chris.
On Jun 29, 2015, at 6:13 PM, Chris Kohlhepp chrisk@manx.net wrote:
Elaboration: Adding #pragma once fixes this problem. Maybe add this to upstream generator "pump.py clbind_functoids.pmp"?
Chris K
On 30/06/2015 8:09 am, Chris Kohlhepp wrote:
Now the detail. What I'm seeing is this:
n file included from helloWorld.cc:5: In file included from /Applications/Clasp/clasp/src/include/clasp.h:2: In file included from /Applications/Clasp/clasp/include/clasp/core/../clbind/clbind.h:34: In file included from /Applications/Clasp/clasp/include/clasp/clbind/class.h:147: In file included from /Applications/Clasp/clasp/include/clasp/clbind/constructor.h:265: /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: error: redefinition of 'VariadicFunctoid<type-parameter-0-1 (*)(type-parameter-0-2, type-parameter-0-3, type-parameter-0-4, type-parameter-0-5, type-parameter-0-6, type-parameter-0-7, type-parameter-0-8, type-parameter-0-9, type-parameter-0-10, type-parameter-0-11, type-parameter-0-12, type-parameter-0-13, type-parameter-0-14, type-parameter-0-15, type-parameter-0-16, type-parameter-0-17), type-parameter-0-0>' class VariadicFunctoid ^~~~~~~~~~~~~~~~ /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: note: previous definition is here class VariadicFunctoid ^
Looks to me like this header is included twice as both references are the same. This header contains no header guards or pragma once statement. It also claims to be generated which means one really should not add those to the source.
Best Regards
Chris Kohlhepp
On 30/06/2015 7:56 am, Chris Kohlhepp wrote:
Hello,
I have Clasp built and running on 10.9.4 using XCode 6. Before going into detail, I wanted to briefly inquire if at present demo-clasp-cxx is expected to build, if so with what branch of Clasp? It used to be the preview branch but I noticed that elements of preview, most notably SICL et al are now in master.
Please advice
Best Regards
Chris Kohlhepp
Hello Chris,
I have it all working -- against master. Happy to submit a patch.
Do we have process for this or do I just post the patch to the mailing list?
Chris K
On 30/06/2015 8:41 am, Christian Schafmeister wrote:
Chris,
The master branch hasn’t been updated for a while - there have been lots of development and I’ve been wrestling them into shape so that I can do another release.
I’m not quite ready yet but you could try building the 0.3-test-6 tag.
Come join us in #clasp if you want more details.
Best,
.Chris.
On Jun 29, 2015, at 6:13 PM, Chris Kohlhepp chrisk@manx.net wrote:
Elaboration: Adding #pragma once fixes this problem. Maybe add this to upstream generator "pump.py clbind_functoids.pmp"?
Chris K
On 30/06/2015 8:09 am, Chris Kohlhepp wrote:
Now the detail. What I'm seeing is this:
n file included from helloWorld.cc:5: In file included from /Applications/Clasp/clasp/src/include/clasp.h:2: In file included from /Applications/Clasp/clasp/include/clasp/core/../clbind/clbind.h:34: In file included from /Applications/Clasp/clasp/include/clasp/clbind/class.h:147: In file included from /Applications/Clasp/clasp/include/clasp/clbind/constructor.h:265: /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: error: redefinition of 'VariadicFunctoid<type-parameter-0-1 (*)(type-parameter-0-2, type-parameter-0-3, type-parameter-0-4, type-parameter-0-5, type-parameter-0-6, type-parameter-0-7, type-parameter-0-8, type-parameter-0-9, type-parameter-0-10, type-parameter-0-11, type-parameter-0-12, type-parameter-0-13, type-parameter-0-14, type-parameter-0-15, type-parameter-0-16, type-parameter-0-17), type-parameter-0-0>' class VariadicFunctoid ^~~~~~~~~~~~~~~~ /Applications/Clasp/clasp/src/clbind/bin/boehm/clang-darwin-4.2.1/release/link-static/clbind_functoids.h:13:7: note: previous definition is here class VariadicFunctoid ^
Looks to me like this header is included twice as both references are the same. This header contains no header guards or pragma once statement. It also claims to be generated which means one really should not add those to the source.
Best Regards
Chris Kohlhepp
On 30/06/2015 7:56 am, Chris Kohlhepp wrote:
Hello,
I have Clasp built and running on 10.9.4 using XCode 6. Before going into detail, I wanted to briefly inquire if at present demo-clasp-cxx is expected to build, if so with what branch of Clasp? It used to be the preview branch but I noticed that elements of preview, most notably SICL et al are now in master.
Please advice
Best Regards
Chris Kohlhepp