<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-13997</id>
	<title>Nabble - CINT</title>
	<updated>2009-12-16T05:43:14Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/CINT-f13997.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/CINT-f13997.html" />
	<subtitle type="html">CINT is a C/C++ interpreter aimed at processing C/C++ scripts. Scripts are programs performing specific tasks. Generally execution time is not critical, but rapid development is. Using an interpreter the compile and link cycle is dramatically reduced facilitating rapid development. CINT makes C/C++ programming enjoyable even for part-time programmers.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26811216</id>
	<title>Re: CINT 5.24 build query</title>
	<published>2009-12-16T05:43:14Z</published>
	<updated>2009-12-16T05:43:14Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;install cygwin (cygwin.com). Run the Visual Studio Command Prompt from 
&lt;br&gt;the Visual Studio Tools in the start / programs menu. In that terminal, 
&lt;br&gt;start C:\cygwin\cygwin.bat. Now cd to /cygdrive/c/CINT (i.e. C:\CINT) or 
&lt;br&gt;wherever you installed CINT. Now run ./configure &amp;&amp; make. Let me know 
&lt;br&gt;how this worked for you.
&lt;br&gt;&lt;br&gt;An alternative approach is a project file provided by Louis, an external 
&lt;br&gt;contributer, see &amp;lt;&lt;a href=&quot;http://root.cern.ch/phpBB2/viewtopic.php?t=8935&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/phpBB2/viewtopic.php?t=8935&lt;/a&gt;&amp;gt; I 
&lt;br&gt;haven't tried it and we only provide support for the first method.
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Niharika01 wrote on 12/16/2009 01:21 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi All
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We have to build CINT 5.24 for the highest version of Visual Studio with 
&lt;br&gt;&amp;gt; which CINT 5.24 is compatible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We have downloaded the source code of CINT 5.24 from the SVN repository 
&lt;br&gt;&amp;gt; link &lt;a href=&quot;http://root.cern.ch/svn/root/tags/v5-24-00b&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/svn/root/tags/v5-24-00b&lt;/a&gt;&amp;nbsp;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Release Notes of CINT 5.24 mention about ‘adding proper support for 
&lt;br&gt;&amp;gt; Microsoft Visual C++ 9.0’.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does it mean that CINT 5.24 is compatible with Microsoft Visual Studio 
&lt;br&gt;&amp;gt; 2008 (having internal version number as 9.0)?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also, we are not able to build CINT.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Earlier, we had built 5.16.1 by following the steps mentioned below.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1. &amp;nbsp; &amp;nbsp; &amp;nbsp; Copy source code of CINT (to be built) to &amp;quot;C:\CINT&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2. &amp;nbsp; &amp;nbsp; &amp;nbsp; Added environment variables &amp;quot;CINTSYSDIR=C:\CINT&amp;quot; and &amp;quot;PATH=% 
&lt;br&gt;&amp;gt; CINTSYSDIR%;%PATH%&amp;quot;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 3. &amp;nbsp; &amp;nbsp; &amp;nbsp; Executed &amp;quot;C:\Program Files\Microsoft Visual 
&lt;br&gt;&amp;gt; Studio\VC98\bin\vcvars32.bat&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 4. &amp;nbsp; &amp;nbsp; &amp;nbsp; Executed setup.bat or setupXP.bat from 
&lt;br&gt;&amp;gt; &amp;quot;C:\cint\platform\visualCpp6&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Since the directory structure and source code of CINT have undergone 
&lt;br&gt;&amp;gt; major changes, we believe the procedure to build CINT has also changed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Please guide us about building CINT version 5.24.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also please let us know the latest version of Visual Studio with which 
&lt;br&gt;&amp;gt; CINT 5.24 is compatible.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Niharika
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-CINT-5.24-build-query-tp26811216p26811216.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530538</id>
	<title>Re: Re: Re: [ROOTDEV] I have questions about cint, could you help me?</title>
	<published>2009-11-26T06:53:53Z</published>
	<updated>2009-11-26T06:53:53Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Kelvin,
&lt;br&gt;&lt;br&gt;Sorry, I didn't see your email immediately; my spam filter didn't like 
&lt;br&gt;it :-(
&lt;br&gt;&lt;br&gt;wangzju wrote on 01/-10/-28163 08:59 PM:
&lt;br&gt;&amp;gt; &amp;nbsp; Thank you very much for your quick reply. I downloaded a too old 
&lt;br&gt;&amp;gt; version, that's why I can't make it successfully. When I downloaded the 
&lt;br&gt;&amp;gt; latest version by SVN, all the probelms disappeared. You did a very good 
&lt;br&gt;&amp;gt; job. CINT is so great! Thanks again.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp; How can I port CINT to platforms that have no operating system? Is it 
&lt;br&gt;&amp;gt; possible? I don't need muti-thread mechanism of CINIT, so whether is 
&lt;br&gt;&amp;gt; it enough to provide a c stdandard lib? That means I provide c standard 
&lt;br&gt;&amp;gt; lib of a platform, then I make CINT run on it. Is that possible?
&lt;br&gt;&lt;br&gt;A tool chain would also help :-) I.e. somehow you need to build it. And 
&lt;br&gt;CINT is C++, so you'll need a C++ std lib, too.
&lt;br&gt;&lt;br&gt;Good luck!
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 2009-11-24
&lt;br&gt;&amp;gt; wangzju
&lt;br&gt;&amp;gt; *发件人：* Axel Naumann
&lt;br&gt;&amp;gt; *发送时间：* 2009-11-22 &amp;nbsp;20:33:35
&lt;br&gt;&amp;gt; *收件人：* 'wangzju'
&lt;br&gt;&amp;gt; *抄送：* Masaharu Goto; 'cint'; 'rootdev'
&lt;br&gt;&amp;gt; *主题：* Re: [ROOTDEV] I have questions about cint, could you help me?
&lt;br&gt;&amp;gt; Hi Kelvin,
&lt;br&gt;&amp;gt; we of course also support stand-alone CINT! We run nightly tests on it,
&lt;br&gt;&amp;gt; making sure it works as expected.
&lt;br&gt;&amp;gt; If you take a recent version (ideally one from subversion, because we
&lt;br&gt;&amp;gt; have neglected to release binaries for almost three years now - sorry
&lt;br&gt;&amp;gt; about that) you can simply run ./configure; make. If your system comes
&lt;br&gt;&amp;gt; with libreadline-dev then CINT can use it.
&lt;br&gt;&amp;gt; See &amp;lt;&lt;a href=&quot;http://root.cern.ch/cint&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/cint&lt;/a&gt;&amp;gt; on how to get CINT from subversion and
&lt;br&gt;&amp;gt; how to build it; it's really easy:
&lt;br&gt;&amp;gt; $ svn co &lt;a href=&quot;http://root.cern.ch/svn/root/trunk/cint&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/svn/root/trunk/cint&lt;/a&gt;&lt;br&gt;&amp;gt; $ cd cint
&lt;br&gt;&amp;gt; $ ./configure
&lt;br&gt;&amp;gt; $ make -j2
&lt;br&gt;&amp;gt; I will upload a new source and binary release in January.
&lt;br&gt;&amp;gt; Cheers, Axel.
&lt;br&gt;&amp;gt; On 2009-11-22 10:16, Masaharu Goto wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Hello Kelvin,
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; I guess you downloaded CINT from CERN. &amp;nbsp;Now , there are 2 versions of
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; CINT, standalone and built-in component in ROOT. &amp;nbsp;I think CERN only
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; supports ROOT built-in version. Platform directory and the README
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; information is described about standalone version. You have a choice
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; between standalone version and ROOT/CINT version. I am keeping a bit old
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; but still working standalone version which I can send you in 11Mbyte
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; tar.gz archive if you want.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Thank you
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Masaharu Goto
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; * From: * &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530538&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-rootdev@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530538&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-rootdev@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; *On Behalf Of *wangzju
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; *Sent:* Saturday, November 21, 2009 9:35 PM
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; *To:* cint; rootdev
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; *Subject:* [ROOTDEV] I have questions about cint, could you help me?
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; hi,
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp; I am a undergradute in Zhejiang Univ. I want to use cint for academic
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; purpose. &amp;nbsp;According to readme file, there should be a folder called
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; platform. but I can't find it in the latest version of cint. Could you
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; tell me how I build cint and makecint? I try to run ./configure and then
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; make on Linux. But error occures:
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; make: *** No rule to make target `readline/*.c', needed by `readline/libreadline.a'. &amp;nbsp;Stop.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp; I need your help. Thanks a lot.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; Kelvin Wang.
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 2009-11-21
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; wangzju
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RE%3A--ROOTDEV--I-have-questions-about-cint%2C-could-you-help-me--tp26463716p26530538.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26515749</id>
	<title>Re: Cint7 Status</title>
	<published>2009-11-25T08:24:50Z</published>
	<updated>2009-11-25T08:24:50Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;the correct link is
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://indico.cern.ch/materialDisplay.py?contribId=3&amp;materialId=slides&amp;confId=71078&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://indico.cern.ch/materialDisplay.py?contribId=3&amp;materialId=slides&amp;confId=71078&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Philippe Canal wrote on 11/24/2009 10:17 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear friends, supporters and early adopters of Cint[7],
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; First let us thank you for your support, your patience and your help
&lt;br&gt;&amp;gt; while we were developing and testing our tentative merge of Cint and
&lt;br&gt;&amp;gt; Reflex (code named Cint 7).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After analyzing the results of our integration tests, we came to the
&lt;br&gt;&amp;gt; conclusion that Cint 7 would not provide any immediate and visible
&lt;br&gt;&amp;gt; gain in performance or memory use while also not helping us achieve any
&lt;br&gt;&amp;gt; the benefits we were aiming for to improve Cint for the LHC experiments;
&lt;br&gt;&amp;gt; Cint 7 was also not yet to the point of being able to improve on any of
&lt;br&gt;&amp;gt; the Cint 5 deficiencies or on the lack of support for the upcoming
&lt;br&gt;&amp;gt; C++ standard. &amp;nbsp; Hence we decided to no longer pursue this direction.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; As an alternative we started investigating LLVM (&amp;lt;&lt;a href=&quot;http://llvm.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://llvm.org&lt;/a&gt;&amp;gt;), a
&lt;br&gt;&amp;gt; cutting edge popular open source compiler project that is already used
&lt;br&gt;&amp;gt; in commercial environments. &amp;nbsp; Apple is currently supporting the main
&lt;br&gt;&amp;gt; developers and relying on LLVM for Mac OS 10.6 and above. &amp;nbsp; Its
&lt;br&gt;&amp;gt; strengths include binary platform compatibility, a C++ API, large number
&lt;br&gt;&amp;gt; of optimizer, and a just-in-time compiler, amongst others; these
&lt;br&gt;&amp;gt; strengths makes it an ideal candidate for building upon to develop a new
&lt;br&gt;&amp;gt; interpreter. &amp;nbsp;The LLVM team is currently implementing a promising C/C++
&lt;br&gt;&amp;gt; and Objective C/C++ front end (Clang) which can already parse more than
&lt;br&gt;&amp;gt; 95% of the ROOT header files.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; After working with the LLVM and Clang team for a while, we are confident
&lt;br&gt;&amp;gt; that they will deliver a very good C++ compiler. We believe that we can
&lt;br&gt;&amp;gt; re-use large parts of it to produce a production-grade interpreter with
&lt;br&gt;&amp;gt; C++ API, leveraging the large LLVM developer community. Thanks to LLVM,
&lt;br&gt;&amp;gt; this future interpreter would offer better and faster parsing and
&lt;br&gt;&amp;gt; execution (for both the dictionary generation and the interpretation).
&lt;br&gt;&amp;gt; We are currently exploring the implementation of the interpreter and
&lt;br&gt;&amp;gt; reflection database based on LLVM with an early prototype, code named
&lt;br&gt;&amp;gt; Cling. Amongst other things, it demonstrate the usability of LLVM's
&lt;br&gt;&amp;gt; just-in-time compiler.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You can see more details on the Cint7 conclusion as well &amp;nbsp;as LLVM and Cling
&lt;br&gt;&amp;gt; in Axel's presentation:
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://indico.cern.ch/materialDisplay.py?contribId=3&amp;materialId=slides&amp;confId=7107&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://indico.cern.ch/materialDisplay.py?contribId=3&amp;materialId=slides&amp;confId=7107&lt;/a&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; We hope that you can understand our decision, and that you will continue
&lt;br&gt;&amp;gt; to support us, be it with CINT or Cling.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; The CINT Team.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cint7-Status-tp26503422p26515749.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26503422</id>
	<title>Cint7 Status</title>
	<published>2009-11-24T13:17:55Z</published>
	<updated>2009-11-24T13:17:55Z</updated>
	<author>
		<name>Philippe Canal</name>
	</author>
	<content type="html">Dear friends, supporters and early adopters of Cint[7],
&lt;br&gt;&lt;br&gt;First let us thank you for your support, your patience and your help
&lt;br&gt;while we were developing and testing our tentative merge of Cint and
&lt;br&gt;Reflex (code named Cint 7).
&lt;br&gt;&lt;br&gt;After analyzing the results of our integration tests, we came to the
&lt;br&gt;conclusion that Cint 7 would not provide any immediate and visible
&lt;br&gt;gain in performance or memory use while also not helping us achieve any
&lt;br&gt;the benefits we were aiming for to improve Cint for the LHC experiments;
&lt;br&gt;Cint 7 was also not yet to the point of being able to improve on any of
&lt;br&gt;the Cint 5 deficiencies or on the lack of support for the upcoming
&lt;br&gt;C++ standard. &amp;nbsp; Hence we decided to no longer pursue this direction.
&lt;br&gt;&lt;br&gt;As an alternative we started investigating LLVM (&amp;lt;&lt;a href=&quot;http://llvm.org&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://llvm.org&lt;/a&gt;&amp;gt;), a
&lt;br&gt;cutting edge popular open source compiler project that is already used
&lt;br&gt;in commercial environments. &amp;nbsp; Apple is currently supporting the main
&lt;br&gt;developers and relying on LLVM for Mac OS 10.6 and above. &amp;nbsp; Its
&lt;br&gt;strengths include binary platform compatibility, a C++ API, large number
&lt;br&gt;of optimizer, and a just-in-time compiler, amongst others; these
&lt;br&gt;strengths makes it an ideal candidate for building upon to develop a new
&lt;br&gt;interpreter. &amp;nbsp;The LLVM team is currently implementing a promising C/C++
&lt;br&gt;and Objective C/C++ front end (Clang) which can already parse more than
&lt;br&gt;95% of the ROOT header files.
&lt;br&gt;&lt;br&gt;After working with the LLVM and Clang team for a while, we are confident
&lt;br&gt;that they will deliver a very good C++ compiler. We believe that we can
&lt;br&gt;re-use large parts of it to produce a production-grade interpreter with
&lt;br&gt;C++ API, leveraging the large LLVM developer community. Thanks to LLVM,
&lt;br&gt;this future interpreter would offer better and faster parsing and
&lt;br&gt;execution (for both the dictionary generation and the interpretation).
&lt;br&gt;We are currently exploring the implementation of the interpreter and
&lt;br&gt;reflection database based on LLVM with an early prototype, code named
&lt;br&gt;Cling. Amongst other things, it demonstrate the usability of LLVM's
&lt;br&gt;just-in-time compiler.
&lt;br&gt;&lt;br&gt;&lt;br&gt;You can see more details on the Cint7 conclusion as well &amp;nbsp;as LLVM and Cling
&lt;br&gt;in Axel's presentation:
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://indico.cern.ch/materialDisplay.py?contribId=3&amp;materialId=slides&amp;confId=7107&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://indico.cern.ch/materialDisplay.py?contribId=3&amp;materialId=slides&amp;confId=7107&lt;/a&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;We hope that you can understand our decision, and that you will continue
&lt;br&gt;to support us, be it with CINT or Cling.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;The CINT Team.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Cint7-Status-tp26503422p26503422.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26464932</id>
	<title>Re: [ROOTDEV] I have questions about cint, could you help me?</title>
	<published>2009-11-22T04:32:41Z</published>
	<updated>2009-11-22T04:32:41Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Kelvin,
&lt;br&gt;&lt;br&gt;we of course also support stand-alone CINT! We run nightly tests on it,
&lt;br&gt;making sure it works as expected.
&lt;br&gt;&lt;br&gt;If you take a recent version (ideally one from subversion, because we
&lt;br&gt;have neglected to release binaries for almost three years now - sorry
&lt;br&gt;about that) you can simply run ./configure; make. If your system comes
&lt;br&gt;with libreadline-dev then CINT can use it.
&lt;br&gt;&lt;br&gt;See &amp;lt;&lt;a href=&quot;http://root.cern.ch/cint&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/cint&lt;/a&gt;&amp;gt; on how to get CINT from subversion and
&lt;br&gt;how to build it; it's really easy:
&lt;br&gt;&lt;br&gt;$ svn co &lt;a href=&quot;http://root.cern.ch/svn/root/trunk/cint&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/svn/root/trunk/cint&lt;/a&gt;&lt;br&gt;$ cd cint
&lt;br&gt;$ ./configure
&lt;br&gt;$ make -j2
&lt;br&gt;&lt;br&gt;I will upload a new source and binary release in January.
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;On 2009-11-22 10:16, Masaharu Goto wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hello Kelvin,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I guess you downloaded CINT from CERN. &amp;nbsp;Now , there are 2 versions of
&lt;br&gt;&amp;gt; CINT, standalone and built-in component in ROOT. &amp;nbsp;I think CERN only
&lt;br&gt;&amp;gt; supports ROOT built-in version. Platform directory and the README
&lt;br&gt;&amp;gt; information is described about standalone version. You have a choice
&lt;br&gt;&amp;gt; between standalone version and ROOT/CINT version. I am keeping a bit old
&lt;br&gt;&amp;gt; but still working standalone version which I can send you in 11Mbyte
&lt;br&gt;&amp;gt; tar.gz archive if you want.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thank you
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Masaharu Goto
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; * From: * &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26464932&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-rootdev@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26464932&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-rootdev@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; *On Behalf Of *wangzju
&lt;br&gt;&amp;gt; *Sent:* Saturday, November 21, 2009 9:35 PM
&lt;br&gt;&amp;gt; *To:* cint; rootdev
&lt;br&gt;&amp;gt; *Subject:* [ROOTDEV] I have questions about cint, could you help me?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; I am a undergradute in Zhejiang Univ. I want to use cint for academic
&lt;br&gt;&amp;gt; purpose. &amp;nbsp;According to readme file, there should be a folder called
&lt;br&gt;&amp;gt; platform. but I can't find it in the latest version of cint. Could you
&lt;br&gt;&amp;gt; tell me how I build cint and makecint? I try to run ./configure and then
&lt;br&gt;&amp;gt; make on Linux. But error occures:
&lt;br&gt;&amp;gt; make: *** No rule to make target `readline/*.c', needed by `readline/libreadline.a'. &amp;nbsp;Stop.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; I need your help. Thanks a lot.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Kelvin Wang.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009-11-21
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; wangzju
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RE%3A--ROOTDEV--I-have-questions-about-cint%2C-could-you-help-me--tp26463716p26464932.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26463716</id>
	<title>RE: [ROOTDEV] I have questions about cint, could you help me?</title>
	<published>2009-11-22T01:16:49Z</published>
	<updated>2009-11-22T01:16:49Z</updated>
	<author>
		<name>Masaharu Goto</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:st1=&quot;urn:schemas-microsoft-com:office:smarttags&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;PlaceType&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;PlaceName&quot; /&gt;
&lt;o:SmartTagType namespaceuri=&quot;urn:schemas-microsoft-com:office:smarttags&quot; name=&quot;place&quot; /&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
st1\:*{behavior:url(#default#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;link rel=Stylesheet type=&quot;text/css&quot; media=all href=&quot;BLOCKQUOTE%7bmargin-Top:%200px;%20margin-Bottom:%200px;%20margin-Left:%202em%7d&quot;&gt;

&lt;![if mso 9]&gt;

&lt;![endif]&gt;
&lt;/head&gt;

&lt;body lang=JA link=blue vlink=purple style='margin-left:7.5pt;margin-top:7.5pt;
margin-right:7.5pt;margin-bottom:7.5pt'&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;Hello Kelvin,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;I guess you downloaded CINT
from CERN. &amp;nbsp;Now , there are 2 versions of CINT, standalone and built-in component
in ROOT. &amp;nbsp;I think CERN only supports ROOT built-in version. Platform directory
and the README information is described about standalone version. You have a choice
between standalone version and ROOT/CINT version. I am keeping a bit old but still
working standalone version which I can send you in 11Mbyte tar.gz archive if you
want.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;Thank you&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;Masaharu Goto&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div class=MsoNormal align=center style='margin:0mm;margin-bottom:.0001pt;
text-align:center'&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span lang=EN-US style='font-size:12.0pt'&gt;

&lt;hr size=2 width=&quot;100%&quot; align=center tabindex=-1&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
font-weight:bold'&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26463716&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-rootdev@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26463716&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-rootdev@...&lt;/a&gt;] &lt;b&gt;&lt;span style='font-weight:bold'&gt;On Behalf Of &lt;/span&gt;&lt;/b&gt;wangzju&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Sent:&lt;/span&gt;&lt;/b&gt; Saturday, November 21, 2009
9:35 PM&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;To:&lt;/span&gt;&lt;/b&gt; cint; rootdev&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Subject:&lt;/span&gt;&lt;/b&gt; [ROOTDEV] I have
questions about cint, could you help me?&lt;/span&gt;&lt;/font&gt;&lt;span lang=EN-US&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span lang=EN-US style='font-size:12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;hi,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&amp;nbsp;
I am a undergradute in &lt;st1:place w:st=&quot;on&quot;&gt;&lt;st1:PlaceName w:st=&quot;on&quot;&gt;Zhejiang&lt;/st1:PlaceName&gt;
 &lt;st1:PlaceType w:st=&quot;on&quot;&gt;Univ.&lt;/st1:PlaceType&gt;&lt;/st1:place&gt; I want to use cint
for academic purpose.&amp;nbsp; According to readme file, there should be a folder
called platform. but I can't find it in the latest version of cint. Could you
tell me how&amp;nbsp;I build cint and makecint? I try to run ./configure and then
make on Linux. But error occures:
make:&amp;nbsp;***&amp;nbsp;No&amp;nbsp;rule&amp;nbsp;to&amp;nbsp;make&amp;nbsp;target&amp;nbsp;`readline/*.c',&amp;nbsp;needed&amp;nbsp;by&amp;nbsp;`readline/libreadline.a'.&amp;nbsp;&amp;nbsp;Stop.
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&amp;nbsp;
I need your help. Thanks a lot.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;Kelvin
Wang.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 color=silver face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:
Verdana;color:silver'&gt;2009-11-21 &lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;

&lt;hr size=2 width=122 style='width:91.5pt' align=left&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;

&lt;p class=MsoNormal style='margin:0mm;margin-bottom:.0001pt'&gt;&lt;font size=2 color=silver face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:
Verdana;color:silver'&gt;wangzju &lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Verdana&gt;&lt;span lang=EN-US style='font-size:10.0pt;font-family:Verdana'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RE%3A--ROOTDEV--I-have-questions-about-cint%2C-could-you-help-me--tp26463716p26463716.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26428673</id>
	<title>Re: Error: Return type mismatch. basic_ostream&lt;char,char_traits&lt;char&gt; &gt; not a public base of string</title>
	<published>2009-11-19T07:53:14Z</published>
	<updated>2009-11-19T07:53:14Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Joost,
&lt;br&gt;&lt;br&gt;good point! And I'm back to investigating...
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote on 11/17/2009 03:08 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Axel,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Tue, 2009-11-17 at 14:54 +0100, Axel Naumann wrote: 
&lt;br&gt;&amp;gt;&amp;gt; Hi Joost,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; as you probably already guessed, CINT is not able to interpret
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;std::copy(v1.begin(), v1.end(), std::ostream_iterator&amp;lt; 
&lt;br&gt;&amp;gt;&amp;gt; std::pair&amp;lt;unsigned long, std::string &amp;gt; &amp;gt;(std::cout, \&amp;quot;\\n\&amp;quot;));&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You'll have to use a less STLly version of it...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; OK, that's a pity and a bit strange as it works in an ordinary Cint
&lt;br&gt;&amp;gt; script (see the program source). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is there any additional documentation available about limitations on STL
&lt;br&gt;&amp;gt; usage (or other parts), other than the rather generic comments in
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://root.cern.ch/viewvc/trunk/cint/doc/limitati.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/viewvc/trunk/cint/doc/limitati.txt&lt;/a&gt;&amp;nbsp;?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error%3A-Return-type-mismatch.-basic_ostream%3Cchar%2Cchar_traits%3Cchar%3E-%3E-not-a-public-base-of-string-tp26390106p26428673.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26390569</id>
	<title>Re: Error: Return type mismatch. basic_ostream&lt;char,char_traits&lt;char&gt; &gt; not a public base of string</title>
	<published>2009-11-17T06:08:48Z</published>
	<updated>2009-11-17T06:08:48Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi Axel,
&lt;br&gt;&lt;br&gt;On Tue, 2009-11-17 at 14:54 +0100, Axel Naumann wrote: 
&lt;br&gt;&amp;gt; Hi Joost,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; as you probably already guessed, CINT is not able to interpret
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;quot;std::copy(v1.begin(), v1.end(), std::ostream_iterator&amp;lt; 
&lt;br&gt;&amp;gt; std::pair&amp;lt;unsigned long, std::string &amp;gt; &amp;gt;(std::cout, \&amp;quot;\\n\&amp;quot;));&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You'll have to use a less STLly version of it...
&lt;br&gt;&lt;br&gt;OK, that's a pity and a bit strange as it works in an ordinary Cint
&lt;br&gt;script (see the program source). 
&lt;br&gt;&lt;br&gt;Is there any additional documentation available about limitations on STL
&lt;br&gt;usage (or other parts), other than the rather generic comments in
&lt;br&gt;&lt;a href=&quot;http://root.cern.ch/viewvc/trunk/cint/doc/limitati.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/viewvc/trunk/cint/doc/limitati.txt&lt;/a&gt;&amp;nbsp;?
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error%3A-Return-type-mismatch.-basic_ostream%3Cchar%2Cchar_traits%3Cchar%3E-%3E-not-a-public-base-of-string-tp26390106p26390569.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26390289</id>
	<title>Re: Error: Return type mismatch. basic_ostream&lt;char,char_traits&lt;char&gt; &gt; not a public base of string</title>
	<published>2009-11-17T05:54:00Z</published>
	<updated>2009-11-17T05:54:00Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Joost,
&lt;br&gt;&lt;br&gt;as you probably already guessed, CINT is not able to interpret
&lt;br&gt;&lt;br&gt;&amp;quot;std::copy(v1.begin(), v1.end(), std::ostream_iterator&amp;lt; 
&lt;br&gt;std::pair&amp;lt;unsigned long, std::string &amp;gt; &amp;gt;(std::cout, \&amp;quot;\\n\&amp;quot;));&amp;quot;
&lt;br&gt;&lt;br&gt;You'll have to use a less STLly version of it...
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote on 11/17/2009 02:40 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am trying to run a C++ script by creating a string in memory with the
&lt;br&gt;&amp;gt; source (so not in a file/script).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Running the program from the link results in an error when calling the
&lt;br&gt;&amp;gt; function callMemoryString:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; + callMemoryString()
&lt;br&gt;&amp;gt; tempFileName: (tmp0)
&lt;br&gt;&amp;gt; + test()
&lt;br&gt;&amp;gt; 471
&lt;br&gt;&amp;gt; texttexttext
&lt;br&gt;&amp;gt; Error: G__getvariable: expression &amp;nbsp;FILE:(tmp0) LINE:9
&lt;br&gt;&amp;gt; Error: Return type mismatch. basic_ostream&amp;lt;char,char_traits&amp;lt;char&amp;gt; &amp;gt; not a public base of string FILE:(tmp0) LINE:9
&lt;br&gt;&amp;gt; !!!Dictionary position rewound... !!!Error recovered!!!
&lt;br&gt;&amp;gt; 0result G__exec_text( test()): 11357936
&lt;br&gt;&amp;gt; + callMemoryString()
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Anyone any idea?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The code and Eclipse CDT project are available here:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://trac.askesis.nl/downloads/CintTest.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.askesis.nl/downloads/CintTest.tar.bz2&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Unzip and run the setup script file in the root after adapting the
&lt;br&gt;&amp;gt; &amp;quot;export CINTSYSDIR=/home/jkr/Programming/C++/cint&amp;quot; into something
&lt;br&gt;&amp;gt; suitable for your machine.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error%3A-Return-type-mismatch.-basic_ostream%3Cchar%2Cchar_traits%3Cchar%3E-%3E-not-a-public-base-of-string-tp26390106p26390289.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26390106</id>
	<title>Error: Return type mismatch. basic_ostream&lt;char,char_traits&lt;char&gt; &gt; not a public base of string</title>
	<published>2009-11-17T05:40:46Z</published>
	<updated>2009-11-17T05:40:46Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;I am trying to run a C++ script by creating a string in memory with the
&lt;br&gt;source (so not in a file/script).
&lt;br&gt;&lt;br&gt;Running the program from the link results in an error when calling the
&lt;br&gt;function callMemoryString:
&lt;br&gt;&lt;br&gt;+ callMemoryString()
&lt;br&gt;tempFileName: (tmp0)
&lt;br&gt;+ test()
&lt;br&gt;471
&lt;br&gt;texttexttext
&lt;br&gt;Error: G__getvariable: expression &amp;nbsp;FILE:(tmp0) LINE:9
&lt;br&gt;Error: Return type mismatch. basic_ostream&amp;lt;char,char_traits&amp;lt;char&amp;gt; &amp;gt; not a public base of string FILE:(tmp0) LINE:9
&lt;br&gt;!!!Dictionary position rewound... !!!Error recovered!!!
&lt;br&gt;0result G__exec_text( test()): 11357936
&lt;br&gt;+ callMemoryString()
&lt;br&gt;&lt;br&gt;Anyone any idea?
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;&lt;br&gt;The code and Eclipse CDT project are available here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://trac.askesis.nl/downloads/CintTest.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.askesis.nl/downloads/CintTest.tar.bz2&lt;/a&gt;&lt;br&gt;&lt;br&gt;Unzip and run the setup script file in the root after adapting the
&lt;br&gt;&amp;quot;export CINTSYSDIR=/home/jkr/Programming/C++/cint&amp;quot; into something
&lt;br&gt;suitable for your machine.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error%3A-Return-type-mismatch.-basic_ostream%3Cchar%2Cchar_traits%3Cchar%3E-%3E-not-a-public-base-of-string-tp26390106p26390106.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26390018</id>
	<title>Re: G__load_text problems</title>
	<published>2009-11-17T05:34:33Z</published>
	<updated>2009-11-17T05:34:33Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi Axel,
&lt;br&gt;&lt;br&gt;On Mon, 2009-11-16 at 16:56 +0100, Axel Naumann wrote: 
&lt;br&gt;&amp;gt; you're missing the newlines in the text source, at least after the 
&lt;br&gt;&amp;gt; #include line. This works for me:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 			&amp;quot;#include &amp;lt;iostream&amp;gt; \n&amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;void test() \n&amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;{\n&amp;quot;
&lt;br&gt;&amp;gt; 				&amp;quot;std::cout &amp;lt;&amp;lt; \&amp;quot;test()\&amp;quot; &amp;lt;&amp;lt; std::endl;\n&amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;}\n&amp;quot;;
&lt;br&gt;&lt;br&gt;OK, this works. Thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/G__load_text-problems-tp26140344p26390018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374300</id>
	<title>Re: G__load_text problems</title>
	<published>2009-11-16T07:55:23Z</published>
	<updated>2009-11-16T07:55:23Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Joost,
&lt;br&gt;&lt;br&gt;you're missing the newlines in the text source, at least after the 
&lt;br&gt;#include line. This works for me:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;#include &amp;lt;iostream&amp;gt; \n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;void test() \n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;{\n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;std::cout &amp;lt;&amp;lt; \&amp;quot;test()\&amp;quot; &amp;lt;&amp;lt; std::endl;\n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;}\n&amp;quot;;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote on 10/31/2009 08:23 AM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am trying to run a null terminated string a source code (for the full
&lt;br&gt;&amp;gt; source of my program see below). It fails however with the following
&lt;br&gt;&amp;gt; output: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; + callMemoryString()
&lt;br&gt;&amp;gt; tempFileName: (tmp0)
&lt;br&gt;&amp;gt; result G__exec_text( test()): 0
&lt;br&gt;&amp;gt; Error: Function test() is not defined in current scope + callMemoryString()
&lt;br&gt;&amp;gt; &amp;nbsp;FILE:(tmpfile) LINE:2
&lt;br&gt;&amp;gt; !!!Dictionary position rewound... !!!Error recovered!!!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Using this as actual source code works:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; std::string code =
&lt;br&gt;&amp;gt; &amp;quot;void test() &amp;quot;
&lt;br&gt;&amp;gt; &amp;quot;{&amp;quot;
&lt;br&gt;&amp;gt; 	&amp;quot;printf(\&amp;quot;Kees Kroket\\n\&amp;quot;);&amp;quot;
&lt;br&gt;&amp;gt; &amp;quot;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What is the correct way of doing this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /////////////////////////////// The code
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #include &amp;lt;iostream&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;quot;G__ci.h&amp;quot;
&lt;br&gt;&amp;gt; #include &amp;lt;string&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; void callMemoryString()
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; 	std::cout &amp;lt;&amp;lt; &amp;quot;+ callMemoryString()&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	int state = G__init_cint( &amp;quot;cint&amp;quot;);
&lt;br&gt;&amp;gt; 	switch (state)
&lt;br&gt;&amp;gt; 	{
&lt;br&gt;&amp;gt; 		case G__INIT_CINT_SUCCESS:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::string code =
&lt;br&gt;&amp;gt; 			&amp;quot;#include &amp;lt;iostream&amp;gt; &amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;void test() &amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;{&amp;quot;
&lt;br&gt;&amp;gt; 				&amp;quot;std::cout &amp;lt;&amp;lt; \&amp;quot;test()\&amp;quot; &amp;lt;&amp;lt; std::endl;&amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;}&amp;quot;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 			const char* tempFileName = G__load_text(code.c_str());
&lt;br&gt;&amp;gt; 			if(tempFileName)
&lt;br&gt;&amp;gt; 			{
&lt;br&gt;&amp;gt; 				std::cout &amp;lt;&amp;lt; &amp;quot;tempFileName: &amp;quot; &amp;lt;&amp;lt; tempFileName &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 				long result = 0;
&lt;br&gt;&amp;gt; 				G__value resultValue;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 				resultValue = G__exec_text( &amp;quot;test()&amp;quot;);
&lt;br&gt;&amp;gt; 				result= G__int(resultValue);
&lt;br&gt;&amp;gt; 				std::cout &amp;lt;&amp;lt; &amp;quot;result G__exec_text( test()): &amp;quot; &amp;lt;&amp;lt; result &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 				G__unloadfile(tempFileName);
&lt;br&gt;&amp;gt; 			}else
&lt;br&gt;&amp;gt; 			{
&lt;br&gt;&amp;gt; 				std::cout &amp;lt;&amp;lt; &amp;quot;Could not create a temp file&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 			break;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 		case G__INIT_CINT_SUCCESS_MAIN:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::cout &amp;lt;&amp;lt; &amp;quot;G__INIT_CINT_SUCCESS_MAIN&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 			break;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 		case G__INIT_CINT_FAILURE:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::cout &amp;lt;&amp;lt; &amp;quot;G__INIT_CINT_FAILURE&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 			break;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 		default:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::cout &amp;lt;&amp;lt; &amp;quot;G__init_cint default&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; 	G__scratch_all();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	std::cout &amp;lt;&amp;lt; &amp;quot;+ callMemoryString()&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; int main(int argc, char** argv)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; 	callMemoryString();
&lt;br&gt;&amp;gt; 	return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/G__load_text-problems-tp26140344p26374300.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26198094</id>
	<title>Re: G__load_text problems</title>
	<published>2009-11-04T07:19:31Z</published>
	<updated>2009-11-04T07:19:31Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Joost,
&lt;br&gt;&lt;br&gt;we got your email but sadly none of us has had the time yet to look at 
&lt;br&gt;the issue you reported :-( I expect that we will react by the end of the 
&lt;br&gt;week. Apologies for the delay.
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote on 10/31/2009 08:23 AM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am trying to run a null terminated string a source code (for the full
&lt;br&gt;&amp;gt; source of my program see below). It fails however with the following
&lt;br&gt;&amp;gt; output: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; + callMemoryString()
&lt;br&gt;&amp;gt; tempFileName: (tmp0)
&lt;br&gt;&amp;gt; result G__exec_text( test()): 0
&lt;br&gt;&amp;gt; Error: Function test() is not defined in current scope + callMemoryString()
&lt;br&gt;&amp;gt; &amp;nbsp;FILE:(tmpfile) LINE:2
&lt;br&gt;&amp;gt; !!!Dictionary position rewound... !!!Error recovered!!!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Using this as actual source code works:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; std::string code =
&lt;br&gt;&amp;gt; &amp;quot;void test() &amp;quot;
&lt;br&gt;&amp;gt; &amp;quot;{&amp;quot;
&lt;br&gt;&amp;gt; 	&amp;quot;printf(\&amp;quot;Kees Kroket\\n\&amp;quot;);&amp;quot;
&lt;br&gt;&amp;gt; &amp;quot;}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What is the correct way of doing this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /////////////////////////////// The code
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #include &amp;lt;iostream&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;quot;G__ci.h&amp;quot;
&lt;br&gt;&amp;gt; #include &amp;lt;string&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; void callMemoryString()
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; 	std::cout &amp;lt;&amp;lt; &amp;quot;+ callMemoryString()&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	int state = G__init_cint( &amp;quot;cint&amp;quot;);
&lt;br&gt;&amp;gt; 	switch (state)
&lt;br&gt;&amp;gt; 	{
&lt;br&gt;&amp;gt; 		case G__INIT_CINT_SUCCESS:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::string code =
&lt;br&gt;&amp;gt; 			&amp;quot;#include &amp;lt;iostream&amp;gt; &amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;void test() &amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;{&amp;quot;
&lt;br&gt;&amp;gt; 				&amp;quot;std::cout &amp;lt;&amp;lt; \&amp;quot;test()\&amp;quot; &amp;lt;&amp;lt; std::endl;&amp;quot;
&lt;br&gt;&amp;gt; 			&amp;quot;}&amp;quot;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 			const char* tempFileName = G__load_text(code.c_str());
&lt;br&gt;&amp;gt; 			if(tempFileName)
&lt;br&gt;&amp;gt; 			{
&lt;br&gt;&amp;gt; 				std::cout &amp;lt;&amp;lt; &amp;quot;tempFileName: &amp;quot; &amp;lt;&amp;lt; tempFileName &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 				long result = 0;
&lt;br&gt;&amp;gt; 				G__value resultValue;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 				resultValue = G__exec_text( &amp;quot;test()&amp;quot;);
&lt;br&gt;&amp;gt; 				result= G__int(resultValue);
&lt;br&gt;&amp;gt; 				std::cout &amp;lt;&amp;lt; &amp;quot;result G__exec_text( test()): &amp;quot; &amp;lt;&amp;lt; result &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 				G__unloadfile(tempFileName);
&lt;br&gt;&amp;gt; 			}else
&lt;br&gt;&amp;gt; 			{
&lt;br&gt;&amp;gt; 				std::cout &amp;lt;&amp;lt; &amp;quot;Could not create a temp file&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 			}
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 			break;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 		case G__INIT_CINT_SUCCESS_MAIN:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::cout &amp;lt;&amp;lt; &amp;quot;G__INIT_CINT_SUCCESS_MAIN&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 			break;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 		case G__INIT_CINT_FAILURE:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::cout &amp;lt;&amp;lt; &amp;quot;G__INIT_CINT_FAILURE&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 			break;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 		default:
&lt;br&gt;&amp;gt; 		{
&lt;br&gt;&amp;gt; 			std::cout &amp;lt;&amp;lt; &amp;quot;G__init_cint default&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; 		}
&lt;br&gt;&amp;gt; 	}
&lt;br&gt;&amp;gt; 	G__scratch_all();
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	std::cout &amp;lt;&amp;lt; &amp;quot;+ callMemoryString()&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; int main(int argc, char** argv)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; 	callMemoryString();
&lt;br&gt;&amp;gt; 	return 0;
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/G__load_text-problems-tp26140344p26198094.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26140344</id>
	<title>G__load_text problems</title>
	<published>2009-10-31T00:23:26Z</published>
	<updated>2009-10-31T00:23:26Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am trying to run a null terminated string a source code (for the full
&lt;br&gt;source of my program see below). It fails however with the following
&lt;br&gt;output: 
&lt;br&gt;&lt;br&gt;+ callMemoryString()
&lt;br&gt;tempFileName: (tmp0)
&lt;br&gt;result G__exec_text( test()): 0
&lt;br&gt;Error: Function test() is not defined in current scope + callMemoryString()
&lt;br&gt;&amp;nbsp;FILE:(tmpfile) LINE:2
&lt;br&gt;!!!Dictionary position rewound... !!!Error recovered!!!
&lt;br&gt;&lt;br&gt;Using this as actual source code works:
&lt;br&gt;&lt;br&gt;std::string code =
&lt;br&gt;&amp;quot;void test() &amp;quot;
&lt;br&gt;&amp;quot;{&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;printf(\&amp;quot;Kees Kroket\\n\&amp;quot;);&amp;quot;
&lt;br&gt;&amp;quot;}
&lt;br&gt;&lt;br&gt;What is the correct way of doing this?
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;&lt;br&gt;/////////////////////////////// The code
&lt;br&gt;&lt;br&gt;#include &amp;lt;iostream&amp;gt;
&lt;br&gt;#include &amp;quot;G__ci.h&amp;quot;
&lt;br&gt;#include &amp;lt;string&amp;gt;
&lt;br&gt;&lt;br&gt;void callMemoryString()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;+ callMemoryString()&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int state = G__init_cint( &amp;quot;cint&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; switch (state)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case G__INIT_CINT_SUCCESS:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::string code =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;#include &amp;lt;iostream&amp;gt; &amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;void test() &amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;{&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;std::cout &amp;lt;&amp;lt; \&amp;quot;test()\&amp;quot; &amp;lt;&amp;lt; std::endl;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;}&amp;quot;;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char* tempFileName = G__load_text(code.c_str());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(tempFileName)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;tempFileName: &amp;quot; &amp;lt;&amp;lt; tempFileName &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; long result = 0;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G__value resultValue;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; resultValue = G__exec_text( &amp;quot;test()&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result= G__int(resultValue);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;result G__exec_text( test()): &amp;quot; &amp;lt;&amp;lt; result &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G__unloadfile(tempFileName);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;Could not create a temp file&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case G__INIT_CINT_SUCCESS_MAIN:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;G__INIT_CINT_SUCCESS_MAIN&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; case G__INIT_CINT_FAILURE:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;G__INIT_CINT_FAILURE&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;G__init_cint default&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G__scratch_all();
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; std::cout &amp;lt;&amp;lt; &amp;quot;+ callMemoryString()&amp;quot; &amp;lt;&amp;lt; std::endl;
&lt;br&gt;}
&lt;br&gt;int main(int argc, char** argv)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; callMemoryString();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return 0;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/G__load_text-problems-tp26140344p26140344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26133665</id>
	<title>Re: Return vaue from library problem with embedded cint</title>
	<published>2009-10-30T10:06:11Z</published>
	<updated>2009-10-30T10:06:11Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Joost!
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote on 10/30/2009 05:15 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Fri, 2009-10-30 at 10:47 +0100, Axel Naumann wrote: 
&lt;br&gt;&amp;gt;&amp;gt; Hi Joost!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks for your example - it forced me to fix two bugs in CINT just to 
&lt;br&gt;&amp;gt;&amp;gt; build it :-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Now that I have it I can even tell you why that happens: you're missing 
&lt;br&gt;&amp;gt;&amp;gt; a dictionary for the vector&amp;lt;pair&amp;lt;...&amp;gt; &amp;gt;. I got it to work by simply 
&lt;br&gt;&amp;gt;&amp;gt; adding in Library.h:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #include &amp;lt;vector&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #include &amp;lt;map&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #include &amp;lt;string&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; using namespace std;
&lt;br&gt;&amp;gt;&amp;gt; #pragma link C++ class vector&amp;lt; pair&amp;lt; unsigned long, string &amp;gt; &amp;gt;;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cool, thanks. Do I understand it correctly that this means that I should
&lt;br&gt;&amp;gt; always link an instantiated STL class if I use one?
&lt;/div&gt;&lt;br&gt;CINT is pretty limited in its abilities to instantiate a 
&lt;br&gt;library-compatible STL class. So: yes :-(
&lt;br&gt;&lt;br&gt;Cheesr, Axel.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Return-vaue-from-library-problem-with-embedded-cint-tp26111042p26133665.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26132895</id>
	<title>Re: Return vaue from library problem with embedded cint</title>
	<published>2009-10-30T09:15:34Z</published>
	<updated>2009-10-30T09:15:34Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">On Fri, 2009-10-30 at 10:47 +0100, Axel Naumann wrote: 
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Joost!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for your example - it forced me to fix two bugs in CINT just to 
&lt;br&gt;&amp;gt; build it :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now that I have it I can even tell you why that happens: you're missing 
&lt;br&gt;&amp;gt; a dictionary for the vector&amp;lt;pair&amp;lt;...&amp;gt; &amp;gt;. I got it to work by simply 
&lt;br&gt;&amp;gt; adding in Library.h:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; #include &amp;lt;vector&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;map&amp;gt;
&lt;br&gt;&amp;gt; #include &amp;lt;string&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; using namespace std;
&lt;br&gt;&amp;gt; #pragma link C++ class vector&amp;lt; pair&amp;lt; unsigned long, string &amp;gt; &amp;gt;;
&lt;/div&gt;&lt;br&gt;Cool, thanks. Do I understand it correctly that this means that I should
&lt;br&gt;always link an instantiated STL class if I use one?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Return-vaue-from-library-problem-with-embedded-cint-tp26111042p26132895.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26127345</id>
	<title>Re: Return vaue from library problem with embedded cint</title>
	<published>2009-10-30T02:47:38Z</published>
	<updated>2009-10-30T02:47:38Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Joost!
&lt;br&gt;&lt;br&gt;Thanks for your example - it forced me to fix two bugs in CINT just to 
&lt;br&gt;build it :-)
&lt;br&gt;&lt;br&gt;Now that I have it I can even tell you why that happens: you're missing 
&lt;br&gt;a dictionary for the vector&amp;lt;pair&amp;lt;...&amp;gt; &amp;gt;. I got it to work by simply 
&lt;br&gt;adding in Library.h:
&lt;br&gt;&lt;br&gt;#include &amp;lt;vector&amp;gt;
&lt;br&gt;#include &amp;lt;map&amp;gt;
&lt;br&gt;#include &amp;lt;string&amp;gt;
&lt;br&gt;&lt;br&gt;using namespace std;
&lt;br&gt;#pragma link C++ class vector&amp;lt; pair&amp;lt; unsigned long, string &amp;gt; &amp;gt;;
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote on 10/29/2009 12:09 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have made a little program that crashes. It consists of an application
&lt;br&gt;&amp;gt; that calls functions in a user library. It looks as if values returned
&lt;br&gt;&amp;gt; from the library get lost somewhere. Is it actually possible to return
&lt;br&gt;&amp;gt; values from a user library?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The code and Eclipse CDT project are available here:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://trac.askesis.nl/downloads/CintTest.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.askesis.nl/downloads/CintTest.tar.bz2&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Unzip and run the setup script file in the root after adapting the
&lt;br&gt;&amp;gt; &amp;quot;export CINTSYSDIR=/home/jkr/Programming/C++/cint&amp;quot; into something
&lt;br&gt;&amp;gt; suitable for your machine.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Return-vaue-from-library-problem-with-embedded-cint-tp26111042p26127345.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26111042</id>
	<title>Return vaue from library problem with embedded cint</title>
	<published>2009-10-29T04:09:32Z</published>
	<updated>2009-10-29T04:09:32Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have made a little program that crashes. It consists of an application
&lt;br&gt;that calls functions in a user library. It looks as if values returned
&lt;br&gt;from the library get lost somewhere. Is it actually possible to return
&lt;br&gt;values from a user library?
&lt;br&gt;&lt;br&gt;&lt;br&gt;The code and Eclipse CDT project are available here:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://trac.askesis.nl/downloads/CintTest.tar.bz2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://trac.askesis.nl/downloads/CintTest.tar.bz2&lt;/a&gt;&lt;br&gt;&lt;br&gt;Unzip and run the setup script file in the root after adapting the
&lt;br&gt;&amp;quot;export CINTSYSDIR=/home/jkr/Programming/C++/cint&amp;quot; into something
&lt;br&gt;suitable for your machine.
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Return-vaue-from-library-problem-with-embedded-cint-tp26111042p26111042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26109262</id>
	<title>Re: Can I use std::string in an external library interface?</title>
	<published>2009-10-29T02:00:56Z</published>
	<updated>2009-10-29T02:00:56Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;CINT removed the namespace std by default. You have two options: build 
&lt;br&gt;CINT with -DG__STD_NAMESPACE (which is not exercised regularly and might 
&lt;br&gt;thus fail) or create a new header that's only used for the dictionaries 
&lt;br&gt;and which contains nothing but &amp;quot;namespace std{} using namespace std;&amp;quot; 
&lt;br&gt;You pass it to cint together with the actual headers when creating the 
&lt;br&gt;dictionary. That way your program will not use it, only the CINT 
&lt;br&gt;dictionaries will #include it.
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote on 10/29/2009 09:36 AM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am experimenting with embedding Cint in my own application and giving
&lt;br&gt;&amp;gt; it access to my own libraries. The interface of my libraries uses
&lt;br&gt;&amp;gt; &amp;quot;std::string&amp;quot;, e.g:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; class Library
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; public:
&lt;br&gt;&amp;gt; void fn(const std::string&amp; a); 
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I compile this library with makecint I get the following error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; G__cpp_myLibrary.cxx: In function ‘int G__myLibrary_46_0_2(G__value*,
&lt;br&gt;&amp;gt; const char*, G__param*, int)’:
&lt;br&gt;&amp;gt; G__cpp_myLibrary.cxx:83: error: ‘string’ was not declared in this scope
&lt;br&gt;&amp;gt; G__cpp_myLibrary.cxx:83: error: expected primary-expression before ‘)’
&lt;br&gt;&amp;gt; token
&lt;br&gt;&amp;gt; G__cpp_myLibrary.cxx: In function ‘void G__setup_memfuncLibrary()’:
&lt;br&gt;&amp;gt; G__cpp_myLibrary.cxx:243: error: expected primary-expression before
&lt;br&gt;&amp;gt; ‘void’
&lt;br&gt;&amp;gt; G__cpp_myLibrary.cxx:243: error: expected `)' before ‘void’
&lt;br&gt;&amp;gt; make: *** [G__cpp_myLibrary.o] Error 1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I change the above to
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; using std::string;
&lt;br&gt;&amp;gt; class Library
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; public:
&lt;br&gt;&amp;gt; void fn(const string&amp; a); 
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it works OK.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this how it is supposed to be? Or can I somehow use std::string in my
&lt;br&gt;&amp;gt; interface headers, without resorting to dummy wrapper headers or magic
&lt;br&gt;&amp;gt; macros?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can-I-use-std%3A%3Astring-in-an-external-library-interface--tp26108948p26109262.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26108948</id>
	<title>Can I use std::string in an external library interface?</title>
	<published>2009-10-29T01:36:15Z</published>
	<updated>2009-10-29T01:36:15Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am experimenting with embedding Cint in my own application and giving
&lt;br&gt;it access to my own libraries. The interface of my libraries uses
&lt;br&gt;&amp;quot;std::string&amp;quot;, e.g:
&lt;br&gt;&lt;br&gt;class Library
&lt;br&gt;{
&lt;br&gt;public:
&lt;br&gt;void fn(const std::string&amp; a); 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;If I compile this library with makecint I get the following error:
&lt;br&gt;&lt;br&gt;G__cpp_myLibrary.cxx: In function ‘int G__myLibrary_46_0_2(G__value*,
&lt;br&gt;const char*, G__param*, int)’:
&lt;br&gt;G__cpp_myLibrary.cxx:83: error: ‘string’ was not declared in this scope
&lt;br&gt;G__cpp_myLibrary.cxx:83: error: expected primary-expression before ‘)’
&lt;br&gt;token
&lt;br&gt;G__cpp_myLibrary.cxx: In function ‘void G__setup_memfuncLibrary()’:
&lt;br&gt;G__cpp_myLibrary.cxx:243: error: expected primary-expression before
&lt;br&gt;‘void’
&lt;br&gt;G__cpp_myLibrary.cxx:243: error: expected `)' before ‘void’
&lt;br&gt;make: *** [G__cpp_myLibrary.o] Error 1
&lt;br&gt;&lt;br&gt;&lt;br&gt;If I change the above to
&lt;br&gt;&lt;br&gt;using std::string;
&lt;br&gt;class Library
&lt;br&gt;{
&lt;br&gt;public:
&lt;br&gt;void fn(const string&amp; a); 
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;it works OK.
&lt;br&gt;&lt;br&gt;Is this how it is supposed to be? Or can I somehow use std::string in my
&lt;br&gt;interface headers, without resorting to dummy wrapper headers or magic
&lt;br&gt;macros?
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can-I-use-std%3A%3Astring-in-an-external-library-interface--tp26108948p26108948.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25626877</id>
	<title>Re: Debian package standalone cint remarks</title>
	<published>2009-09-26T09:43:15Z</published>
	<updated>2009-09-26T09:43:15Z</updated>
	<author>
		<name>David Bremner-4</name>
	</author>
	<content type="html">&lt;br&gt;If you try
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://pivot.cs.unb.ca/debian/pool/main/c/cint/cint_7.3.00~r30149-2.dsc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pivot.cs.unb.ca/debian/pool/main/c/cint/cint_7.3.00~r30149-2.dsc&lt;/a&gt;&lt;br&gt;&lt;br&gt;it should at least build cint7 and libReflex.so now. You do have to use
&lt;br&gt;dpkg-buildpackage (or debuild) to build it.
&lt;br&gt;&lt;br&gt;d
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Debian-package-standalone-cint-remarks-tp25608295p25626877.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25625334</id>
	<title>Re: Thread safeness of cint?</title>
	<published>2009-09-26T06:39:22Z</published>
	<updated>2009-09-26T06:39:22Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi Joost,
&lt;br&gt;&lt;br&gt;cint5 is easier to use in a MT environment than cint7, because it uses
&lt;br&gt;less STL containers. I believe Cint5 was once sort of thread safe. Sort
&lt;br&gt;of, because the trick was to load a separate libCint.so per thread,
&lt;br&gt;having separate functions and most importantly separate globals. You can
&lt;br&gt;see in the lower half of G__ci.h how this is done. We have not tried
&lt;br&gt;this for a long time, so it will most probably not work. But it should
&lt;br&gt;be the easiest way for you, if the &amp;quot;one libCint.so per thread&amp;quot; approach
&lt;br&gt;is acceptable for you.
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 2009-09-25 10:23, Joost Kraaijeveld wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The source of cint explicitly say that cint is not MT safe. Is that
&lt;br&gt;&amp;gt; still the case for cint7? If so, does anyone know if it is a lot of work
&lt;br&gt;&amp;gt; (going to impossible without a complete rewrite)?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Thread-safeness-of-cint--tp25608322p25625334.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25611206</id>
	<title>Re: Debian package standalone cint remarks</title>
	<published>2009-09-25T05:23:43Z</published>
	<updated>2009-09-25T05:23:43Z</updated>
	<author>
		<name>David Bremner-4</name>
	</author>
	<content type="html">Joost Kraaijeveld wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;Thanks for the link. Your package has the same problems as the one I
&lt;br&gt;&amp;gt;build. Did you ever try to compile the socket library with the installed
&lt;br&gt;&amp;gt;version and did it work for you?
&lt;br&gt;&lt;br&gt;No, I didn't try, sorry. &amp;nbsp;Did you build my packages via &amp;quot;make deb&amp;quot; or
&lt;br&gt;using the usual Debian way (e.g. using debuild?). &amp;quot;make deb&amp;quot; will
&lt;br&gt;overwrite the debian packaging I provide.
&lt;br&gt;&lt;br&gt;I know something about debian packaging, but less about cint. &amp;nbsp;These
&lt;br&gt;are my rough draft packages for upload to Debian, so if something is
&lt;br&gt;really not right, it would nice to fix it before uploading.
&lt;br&gt;&lt;br&gt;It would be great if you could follow up with whatever you figure out
&lt;br&gt;to
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25611206&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;533858@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;or
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533858&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533858&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Debian-package-standalone-cint-remarks-tp25608295p25611206.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25610979</id>
	<title>Re: Debian package standalone cint remarks</title>
	<published>2009-09-25T05:08:27Z</published>
	<updated>2009-09-25T05:08:27Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;Thanks for the link. Your package has the same problems as the one I
&lt;br&gt;build. Did you ever try to compile the socket library with the installed
&lt;br&gt;version and did it work for you?
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Debian-package-standalone-cint-remarks-tp25608295p25610979.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25610321</id>
	<title>Re: Debian package standalone cint remarks</title>
	<published>2009-09-25T04:19:41Z</published>
	<updated>2009-09-25T04:19:41Z</updated>
	<author>
		<name>David Bremner-4</name>
	</author>
	<content type="html">&lt;br&gt;Joost Kraaijeveld wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;Hi,
&lt;br&gt;&lt;br&gt;&amp;gt;In an attempt to create a Debian .deb package I noticed several
&lt;br&gt;&amp;gt;problems. Before I try to &amp;quot;improve&amp;quot; anything, I hope that this post will
&lt;br&gt;&amp;gt;get me some advise on how to actually improve it, as I have no
&lt;br&gt;&amp;gt;experience in creating Debian packages at all.
&lt;br&gt;&lt;br&gt;You might find it helpful to look at the debian package I am using at 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://pivot.cs.unb.ca/debian/pool/main/c/cint/cint_7.3.00~r30149-1.dsc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pivot.cs.unb.ca/debian/pool/main/c/cint/cint_7.3.00~r30149-1.dsc&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Debian-package-standalone-cint-remarks-tp25608295p25610321.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25608322</id>
	<title>Thread safeness of cint?</title>
	<published>2009-09-25T01:23:50Z</published>
	<updated>2009-09-25T01:23:50Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;The source of cint explicitly say that cint is not MT safe. Is that
&lt;br&gt;still the case for cint7? If so, does anyone know if it is a lot of work
&lt;br&gt;(going to impossible without a complete rewrite)?
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Thread-safeness-of-cint--tp25608322p25608322.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25608295</id>
	<title>Debian package standalone cint remarks</title>
	<published>2009-09-25T01:21:42Z</published>
	<updated>2009-09-25T01:21:42Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;In an attempt to create a Debian .deb package I noticed several
&lt;br&gt;problems. Before I try to &amp;quot;improve&amp;quot; anything, I hope that this post will
&lt;br&gt;get me some advise on how to actually improve it, as I have no
&lt;br&gt;experience in creating Debian packages at all.
&lt;br&gt;&lt;br&gt;1. &amp;quot;./configure --coreversion=new ; make deb&amp;quot; creates a cint_7.3.00-1
&lt;br&gt;package that actually contains cint 5.17.00 ( I used a checkout of svn
&lt;br&gt;trunk) and it does not contain the reflex library
&lt;br&gt;&lt;br&gt;2. the included cint-config contains (striped some things): 
&lt;br&gt;&lt;br&gt;--incdir) &amp;nbsp;$pathconvert &amp;quot;/usr/include&amp;quot; ;;
&lt;br&gt;--cflags) &amp;nbsp;$pathconvert &amp;quot;-I/usr/include -I/home/jkr/src/cint/reflex/inc&amp;quot; ;;
&lt;br&gt;--libs) &amp;nbsp; &amp;nbsp;$pathconvert &amp;quot;-L/usr/lib -lCint -lReflex&amp;quot; ;;
&lt;br&gt;&lt;br&gt;ad --incdir: the examples that depend on finding the cint includes there
&lt;br&gt;will not work as the actual directory in /usr/include/cint, which seems
&lt;br&gt;to be reasonable to me
&lt;br&gt;ad -cflags: reflex is not included in the deb-package and the path for
&lt;br&gt;the reflex include is just available on my local machine, which renders
&lt;br&gt;the deb unusable for distribution
&lt;br&gt;ad --libs: reflex is not included in the deb-package
&lt;br&gt;ad --version: is correct for the actual inclused version but is not 
&lt;br&gt;&lt;br&gt;3. it seems to be impossible to compile any of the libraries
&lt;br&gt;in /usr/share/cin/cint/lib. All compilation attempts lead tot the
&lt;br&gt;following error (commandline of cint included):
&lt;br&gt;/usr/bin/cint &amp;nbsp;-K -w2 -zcintsock -nG__c_cintsock.c &amp;nbsp;-D__MAKECINT__
&lt;br&gt;-DG__MAKECINT -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;-DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;-DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp; -c-2
&lt;br&gt;-I/usr/include &amp;nbsp;-DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;-DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;-DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp;-Z0
&lt;br&gt;cintsock.h
&lt;br&gt;#error &amp;quot;You need a ISO C conforming compiler to use the glibc headers&amp;quot;
&lt;br&gt;&lt;br&gt;Can anyone give me some advise/directions of how to get the package
&lt;br&gt;properly compiled and installed for Debian (both cint and cint7),
&lt;br&gt;additional libraries included? (All OOTB solutions are also very
&lt;br&gt;welcome ;-))
&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Debian-package-standalone-cint-remarks-tp25608295p25608295.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25607624</id>
	<title>Re: Problem running demo/tcpip / compiling dlls</title>
	<published>2009-09-25T00:28:10Z</published>
	<updated>2009-09-25T00:28:10Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi Philippe,
&lt;br&gt;&lt;br&gt;[Added a CC to the mailing list which got lost with my previous ]
&lt;br&gt;&lt;br&gt;On Thu, 2009-09-24 at 10:18 -0500, Philippe Canal wrote: 
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Joost,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Do you see the same problem with the 'old'/'current core.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Philippe.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Joost Kraaijeveld wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi Phillipe,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks for your response.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I succeeded in compiling the socket dll. What I did was:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; svn co &lt;a href=&quot;http://root.cern.ch/svn/root/trunk/cint&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/svn/root/trunk/cint&lt;/a&gt;&amp;nbsp;cint
&lt;br&gt;&amp;gt; &amp;gt; cd cint
&lt;br&gt;&amp;gt; &amp;gt; ./configure --coreversion=new
&lt;br&gt;&amp;gt; &amp;gt; make all
&lt;br&gt;&amp;gt; &amp;gt; export PATH=$PWD/bin:$PATH
&lt;br&gt;&amp;gt; &amp;gt; export LD_LIBRARY_PATH=$PWD/lib:$LD_LIBRARY_PATH
&lt;br&gt;&amp;gt; &amp;gt; export CINTSYSDIR=$PWD
&lt;br&gt;&amp;gt; &amp;gt; cd cint7/lib/socket/
&lt;br&gt;&amp;gt; &amp;gt; sh ./setup
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; copy the dll to $CINTSYSDIR/cint7/include
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; cd ../../../demo/tcpip/
&lt;br&gt;&amp;gt; &amp;gt; cint server.cxx
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&lt;br&gt;I did not need to copy the dll manually (because of your path to the
&lt;br&gt;setup script I believe). otherwise the procedure was the same and leaded
&lt;br&gt;to a working standalone cint and a compilation of the socket dll.
&lt;br&gt;&lt;br&gt;I also investigated the Debian package problems a bit further and will
&lt;br&gt;start a new Debian thread for that.
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25607624.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25561393</id>
	<title>Re: bugs in parsing ++/-- operators?</title>
	<published>2009-09-22T07:51:40Z</published>
	<updated>2009-09-22T07:51:40Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;David Bremner wrote on 09/22/2009 04:39 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; we are aware of these parsing limitations. We don't plan to fix them - 
&lt;br&gt;&amp;gt;&amp;gt; it would require a substantial rewrite of the operator parser. I hope 
&lt;br&gt;&amp;gt;&amp;gt; that the workaround that you already found yourself is sufficient for 
&lt;br&gt;&amp;gt;&amp;gt; you... If it's not then your patches are always welcome!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It is a bit unfortunate for teaching purposes. I have been using CINT
&lt;br&gt;&amp;gt; to quickly run snippets of C code during lectures, and although these
&lt;br&gt;&amp;gt; expressions are ugly, they are exactly the kind of corner cases one
&lt;br&gt;&amp;gt; wants to test. &amp;nbsp;I understand however that exact C standard compliance
&lt;br&gt;&amp;gt; is not really a design goal for CINT. &amp;nbsp;
&lt;/div&gt;&lt;br&gt;It wasn't, and now it's too late for some of the corners... Sorry for 
&lt;br&gt;the bad news :-(
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25561393.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25561206</id>
	<title>Re: bugs in parsing ++/-- operators?</title>
	<published>2009-09-22T07:39:46Z</published>
	<updated>2009-09-22T07:39:46Z</updated>
	<author>
		<name>David Bremner-4</name>
	</author>
	<content type="html">&lt;br&gt;Err, sorry about the bad threading. I think anything I do now will make things worse...
&lt;br&gt;&lt;br&gt;At Tue, 22 Sep 2009 15:43:31 +0200,
&lt;br&gt;Axel Naumann wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; we are aware of these parsing limitations. We don't plan to fix them - 
&lt;br&gt;&amp;gt; it would require a substantial rewrite of the operator parser. I hope 
&lt;br&gt;&amp;gt; that the workaround that you already found yourself is sufficient for 
&lt;br&gt;&amp;gt; you... If it's not then your patches are always welcome!
&lt;br&gt;&lt;br&gt;It is a bit unfortunate for teaching purposes. I have been using CINT
&lt;br&gt;to quickly run snippets of C code during lectures, and although these
&lt;br&gt;expressions are ugly, they are exactly the kind of corner cases one
&lt;br&gt;wants to test. &amp;nbsp;I understand however that exact C standard compliance
&lt;br&gt;is not really a design goal for CINT. &amp;nbsp;
&lt;br&gt;&lt;br&gt;d
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25561206.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25560219</id>
	<title>Re: bugs in parsing ++/-- operators?</title>
	<published>2009-09-22T06:43:31Z</published>
	<updated>2009-09-22T06:43:31Z</updated>
	<author>
		<name>Axel Naumann</name>
	</author>
	<content type="html">Hi David,
&lt;br&gt;&lt;br&gt;we are aware of these parsing limitations. We don't plan to fix them - 
&lt;br&gt;it would require a substantial rewrite of the operator parser. I hope 
&lt;br&gt;that the workaround that you already found yourself is sufficient for 
&lt;br&gt;you... If it's not then your patches are always welcome!
&lt;br&gt;&lt;br&gt;Cheers, Axel.
&lt;br&gt;&lt;br&gt;David Bremner wrote on 09/22/2009 03:24 PM:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It seems like the cint parser has trouble with 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; - --j
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; + ++j
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; here are some test cases
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ,----
&lt;br&gt;&amp;gt; | cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d&amp;quot;, --i - --j); }
&lt;br&gt;&amp;gt; | -1(const int)2
&lt;br&gt;&amp;gt; | cint&amp;gt; 
&lt;br&gt;&amp;gt; | cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, --i - --j); }
&lt;br&gt;&amp;gt; | -1
&lt;br&gt;&amp;gt; | (const int)3
&lt;br&gt;&amp;gt; | cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, ++i - --j); }
&lt;br&gt;&amp;gt; | -1
&lt;br&gt;&amp;gt; | (const int)3
&lt;br&gt;&amp;gt; | cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, ++i - ++j); }
&lt;br&gt;&amp;gt; | 0
&lt;br&gt;&amp;gt; | (const int)2
&lt;br&gt;&amp;gt; | cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, ++i + ++j); }
&lt;br&gt;&amp;gt; | 1
&lt;br&gt;&amp;gt; | (const int)2
&lt;br&gt;&amp;gt; | cint&amp;gt; 
&lt;br&gt;&amp;gt; `----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Adding enough parentheses fixes the failing ones.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is svn revision 30149, banner says
&lt;br&gt;&amp;gt; &amp;nbsp;revision &amp;nbsp; &amp;nbsp; : 5.17.00, Dec 21, 2008 by M.Goto
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25560219.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25559972</id>
	<title>bugs in parsing ++/-- operators?</title>
	<published>2009-09-22T06:24:03Z</published>
	<updated>2009-09-22T06:24:03Z</updated>
	<author>
		<name>David Bremner-4</name>
	</author>
	<content type="html">&lt;br&gt;It seems like the cint parser has trouble with 
&lt;br&gt;&lt;br&gt;- --j
&lt;br&gt;&lt;br&gt;and 
&lt;br&gt;&lt;br&gt;+ ++j
&lt;br&gt;&lt;br&gt;here are some test cases
&lt;br&gt;&lt;br&gt;,----
&lt;br&gt;| cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d&amp;quot;, --i - --j); }
&lt;br&gt;| -1(const int)2
&lt;br&gt;| cint&amp;gt; 
&lt;br&gt;| cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, --i - --j); }
&lt;br&gt;| -1
&lt;br&gt;| (const int)3
&lt;br&gt;| cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, ++i - --j); }
&lt;br&gt;| -1
&lt;br&gt;| (const int)3
&lt;br&gt;| cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, ++i - ++j); }
&lt;br&gt;| 0
&lt;br&gt;| (const int)2
&lt;br&gt;| cint&amp;gt; {int i=1; int j=1; printf(&amp;quot;%d\n&amp;quot;, ++i + ++j); }
&lt;br&gt;| 1
&lt;br&gt;| (const int)2
&lt;br&gt;| cint&amp;gt; 
&lt;br&gt;`----
&lt;br&gt;&lt;br&gt;Adding enough parentheses fixes the failing ones.
&lt;br&gt;&lt;br&gt;This is svn revision 30149, banner says
&lt;br&gt;&amp;nbsp;revision &amp;nbsp; &amp;nbsp; : 5.17.00, Dec 21, 2008 by M.Goto
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25559972.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25507458</id>
	<title>Re: Problem running demo/tcpip / compiling dlls</title>
	<published>2009-09-18T04:52:58Z</published>
	<updated>2009-09-18T04:52:58Z</updated>
	<author>
		<name>Philippe Canal</name>
	</author>
	<content type="html">Hi Joost,
&lt;br&gt;&lt;br&gt;I just updated (revision 30247) the setup script (it nows works for me :)).
&lt;br&gt;Can you give it a try?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Philippe.
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am trying to get the tcp/ip demo running on my Debian (testing)
&lt;br&gt;&amp;gt; machine. I am using a freshly checked out version of cint 5.17.00 (svn
&lt;br&gt;&amp;gt; co &lt;a href=&quot;http://root.cern.ch/svn/root/trunk/cint&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/svn/root/trunk/cint&lt;/a&gt;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; After compiling and installing the Debian package using &amp;quot;make deb&amp;quot; I can
&lt;br&gt;&amp;gt; run several demo's e.g. the stl demo. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Running the tcp/ip demo however results in:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; jkr@panoramix:~/src/cint-5.17.00/demo/tcpip$ cint server.cxx 
&lt;br&gt;&amp;gt; #error cintsock.dll is not ready. Run setup script in
&lt;br&gt;&amp;gt; $CINTSYSDIR/lib/socket directory
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Doing so results in the message below, which basically says that I
&lt;br&gt;&amp;gt; should have a decent compiler (which I obviously do or I could not have
&lt;br&gt;&amp;gt; compiled cint in the first place). I have tried &amp;quot;make dlls&amp;quot; but that
&lt;br&gt;&amp;gt; does not build it either.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The dlls that get build (and also installed) are:
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/include/sys/ipc.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/include/long.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/include/stdfunc.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/include/posix.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/include/stdcxxfunc.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/vector.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/list.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/deque.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/map.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/map2.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/set.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/multimap.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/multimap2.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/multiset.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/stack.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/queue.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/valarray.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/exception.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/stdexcept.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/climits.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/complex.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/string.dll
&lt;br&gt;&amp;gt; ./debian/cint/usr/share/cint/cint/stl/vectorbool.dll
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there a solution for this problem? Is there anything I could try or
&lt;br&gt;&amp;gt; look at?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; panoramix:/usr/share/cint/cint/lib/socket# sh ./setup
&lt;br&gt;&amp;gt; cp: cannot stat `/MAKEINFO': No such file or directory
&lt;br&gt;&amp;gt; cc &amp;nbsp;-o mksockh mksockh.c
&lt;br&gt;&amp;gt; rm: cannot remove `mksockh.exe': No such file or directory
&lt;br&gt;&amp;gt; ##########################################################################
&lt;br&gt;&amp;gt; # makecint : interpreter-compiler for cint (UNIX version)
&lt;br&gt;&amp;gt; # Copyright(c) 1995~2007 Masaharu Goto. Mailing list:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25507458&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cint@...&lt;/a&gt;
&lt;br&gt;&amp;gt; ##########################################################################
&lt;br&gt;&amp;gt; Run 'make -f Makefile' to compile the object
&lt;br&gt;&amp;gt; gcc &amp;nbsp;-DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;&amp;gt; -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;&amp;gt; -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp;-O2
&lt;br&gt;&amp;gt; -m64 &amp;nbsp;-fPIC &amp;nbsp;-o cintsock.o -c cintsock.c
&lt;br&gt;&amp;gt; /usr/bin/cint &amp;nbsp;-K -w2 -zcintsock -nG__c_cintsock.c &amp;nbsp;-D__MAKECINT__
&lt;br&gt;&amp;gt; -DG__MAKECINT -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;&amp;gt; -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;&amp;gt; -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp; -c-2
&lt;br&gt;&amp;gt; -I/usr/include &amp;nbsp;-DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;&amp;gt; -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;&amp;gt; -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp;-Z0
&lt;br&gt;&amp;gt; cintsock.h
&lt;br&gt;&amp;gt; #error &amp;quot;You need a ISO C conforming compiler to use the glibc headers&amp;quot;
&lt;br&gt;&amp;gt; !!!Removing G__c_cintsock.c G__c_cintsock.h !!!
&lt;br&gt;&amp;gt; make: *** [G__c_cintsock.c] Error 1
&lt;br&gt;&amp;gt; rm: cannot remove `G__*': No such file or directory
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; TIA
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25507458.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25461408</id>
	<title>Re: AW: Problem running demo/tcpip / compiling dlls</title>
	<published>2009-09-15T13:40:35Z</published>
	<updated>2009-09-15T13:40:35Z</updated>
	<author>
		<name>Joost Kraaijeveld</name>
	</author>
	<content type="html">Hi Louis,
&lt;br&gt;&lt;br&gt;Thanks for answering.
&lt;br&gt;&lt;br&gt;On Tue, 2009-09-15 at 20:46 +0200, Louis wrote: 
&lt;br&gt;&amp;gt; Hi J.
&lt;br&gt;&amp;gt; You problem is exactly at this line:
&lt;br&gt;&amp;gt; cc &amp;nbsp;-o mksockh mksockh.c
&lt;br&gt;&amp;gt; You compiled cint with gcc, but you try to compile the lib with cc.
&lt;br&gt;&amp;gt; Change the compiler executable within the makefile from cc to gcc and it
&lt;br&gt;&amp;gt; should compile.
&lt;br&gt;&lt;br&gt;The makefile is generated by the setup script (which also automatically
&lt;br&gt;remove both the makefile and o file after compilation).
&lt;br&gt;&lt;br&gt;Fiddling with some &amp;quot;export CC=&amp;quot; statements changed the compiler but
&lt;br&gt;there definitely seems to be something wrong:
&lt;br&gt;&lt;br&gt;panoramix:/usr/share/cint/cint/lib/socket# sh ./setup
&lt;br&gt;cp: cannot stat `/MAKEINFO': No such file or directory
&lt;br&gt;gcc &amp;nbsp;-o mksockh mksockh.c
&lt;br&gt;rm: cannot remove `mksockh.exe': No such file or directory
&lt;br&gt;##########################################################################
&lt;br&gt;# makecint : interpreter-compiler for cint (UNIX version)
&lt;br&gt;# Copyright(c) 1995~2007 Masaharu Goto. Mailing list: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25461408&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cint@...&lt;/a&gt;
&lt;br&gt;##########################################################################
&lt;br&gt;Run 'make -f Makefile' to compile the object
&lt;br&gt;gcc &amp;nbsp;-DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp;-O2 -m64 &amp;nbsp;-fPIC &amp;nbsp;-o cintsock.o -c cintsock.c
&lt;br&gt;/usr/bin/cint &amp;nbsp;-K -w2 -zcintsock -nG__c_cintsock.c &amp;nbsp;-D__MAKECINT__ -DG__MAKECINT -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp; -c-2 &amp;nbsp;-I/usr/include &amp;nbsp;-DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK -DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG -DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp;-Z0 cintsock.h
&lt;br&gt;#error &amp;quot;You need a ISO C conforming compiler to use the glibc headers&amp;quot;
&lt;br&gt;!!!Removing G__c_cintsock.c G__c_cintsock.h !!!
&lt;br&gt;make: *** [G__c_cintsock.c] Error 1
&lt;br&gt;rm: cannot remove `G__*': No such file or directory
&lt;br&gt;panoramix:/usr/share/cint/cint/lib/socket# 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25461408.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25459547</id>
	<title>AW: Problem running demo/tcpip / compiling dlls</title>
	<published>2009-09-15T11:46:01Z</published>
	<updated>2009-09-15T11:46:01Z</updated>
	<author>
		<name>Louis-35</name>
	</author>
	<content type="html">Hi J.
&lt;br&gt;You problem is exactly at this line:
&lt;br&gt;cc &amp;nbsp;-o mksockh mksockh.c
&lt;br&gt;You compiled cint with gcc, but you try to compile the lib with cc.
&lt;br&gt;Change the compiler executable within the makefile from cc to gcc and it
&lt;br&gt;should compile.
&lt;br&gt;&lt;br&gt;Greets Louis
&lt;br&gt;&lt;br&gt;-----Ursprüngliche Nachricht-----
&lt;br&gt;Von: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25459547&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-cint@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25459547&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;owner-cint@...&lt;/a&gt;] Im Auftrag von
&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Gesendet: Dienstag, 15. September 2009 10:50
&lt;br&gt;An: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25459547&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cint@...&lt;/a&gt;
&lt;br&gt;Betreff: [CINT] Problem running demo/tcpip / compiling dlls
&lt;br&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;I am trying to get the tcp/ip demo running on my Debian (testing)
&lt;br&gt;machine. I am using a freshly checked out version of cint 5.17.00 (svn
&lt;br&gt;co &lt;a href=&quot;http://root.cern.ch/svn/root/trunk/cint&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://root.cern.ch/svn/root/trunk/cint&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;After compiling and installing the Debian package using &amp;quot;make deb&amp;quot; I can
&lt;br&gt;run several demo's e.g. the stl demo. 
&lt;br&gt;&lt;br&gt;Running the tcp/ip demo however results in:
&lt;br&gt;&lt;br&gt;jkr@panoramix:~/src/cint-5.17.00/demo/tcpip$ cint server.cxx 
&lt;br&gt;#error cintsock.dll is not ready. Run setup script in
&lt;br&gt;$CINTSYSDIR/lib/socket directory
&lt;br&gt;&lt;br&gt;&lt;br&gt;Doing so results in the message below, which basically says that I
&lt;br&gt;should have a decent compiler (which I obviously do or I could not have
&lt;br&gt;compiled cint in the first place). I have tried &amp;quot;make dlls&amp;quot; but that
&lt;br&gt;does not build it either.
&lt;br&gt;&lt;br&gt;The dlls that get build (and also installed) are:
&lt;br&gt;./debian/cint/usr/share/cint/cint/include/sys/ipc.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/include/long.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/include/stdfunc.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/include/posix.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/include/stdcxxfunc.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/vector.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/list.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/deque.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/map.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/map2.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/set.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/multimap.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/multimap2.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/multiset.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/stack.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/queue.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/valarray.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/exception.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/stdexcept.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/climits.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/complex.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/string.dll
&lt;br&gt;./debian/cint/usr/share/cint/cint/stl/vectorbool.dll
&lt;br&gt;&lt;br&gt;&lt;br&gt;Is there a solution for this problem? Is there anything I could try or
&lt;br&gt;look at?
&lt;br&gt;&lt;br&gt;&lt;br&gt;panoramix:/usr/share/cint/cint/lib/socket# sh ./setup
&lt;br&gt;cp: cannot stat `/MAKEINFO': No such file or directory
&lt;br&gt;cc &amp;nbsp;-o mksockh mksockh.c
&lt;br&gt;rm: cannot remove `mksockh.exe': No such file or directory
&lt;br&gt;##########################################################################
&lt;br&gt;# makecint : interpreter-compiler for cint (UNIX version)
&lt;br&gt;# Copyright(c) 1995~2007 Masaharu Goto. Mailing list:
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25459547&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cint@...&lt;/a&gt;
&lt;br&gt;##########################################################################
&lt;br&gt;Run 'make -f Makefile' to compile the object
&lt;br&gt;gcc &amp;nbsp;-DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;-DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;-DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp;-O2
&lt;br&gt;-m64 &amp;nbsp;-fPIC &amp;nbsp;-o cintsock.o -c cintsock.c
&lt;br&gt;/usr/bin/cint &amp;nbsp;-K -w2 -zcintsock -nG__c_cintsock.c &amp;nbsp;-D__MAKECINT__
&lt;br&gt;-DG__MAKECINT -DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;-DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;-DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp; -c-2
&lt;br&gt;-I/usr/include &amp;nbsp;-DG__SHAREDLIB -DG__OSFDLL -DG__ANSI -DG__ERRORCALLBACK
&lt;br&gt;-DG__SIGNEDCHAR -DG__NEWSTDHEADER -DG__CINT_VER6 -DG__NATIVELONGLONG
&lt;br&gt;-DG__P2FCAST -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO &amp;nbsp;-Z0
&lt;br&gt;cintsock.h
&lt;br&gt;#error &amp;quot;You need a ISO C conforming compiler to use the glibc headers&amp;quot;
&lt;br&gt;!!!Removing G__c_cintsock.c G__c_cintsock.h !!!
&lt;br&gt;make: *** [G__c_cintsock.c] Error 1
&lt;br&gt;rm: cannot remove `G__*': No such file or directory
&lt;br&gt;&lt;br&gt;&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Groeten,
&lt;br&gt;&lt;br&gt;Joost Kraaijeveld
&lt;br&gt;Askesis B.V.
&lt;br&gt;Molukkenstraat 14
&lt;br&gt;6524NB Nijmegen
&lt;br&gt;tel: 024-3888063 / 06-51855277
&lt;br&gt;fax: 024-3608416
&lt;br&gt;web: www.askesis.nl
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-running-demo-tcpip---compiling-dlls-tp25450376p25459547.html" />
</entry>

</feed>
