Re: Problems with synopsis from trunk

Stefan Seefeld <[email protected]> Tue, 08 Mar 2011 13:58:23 -0500
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
On 2011-03-08 12:16, Michael Lehn wrote:
> Hello,
>
> I just tried out the new synopsis from trunk.  Following the 
> instructions from
>
> http://lists.fresco.org/pipermail/synopsis-devel/2011-February/001086.html
>
> I could compile and install LLVM and synopsis without problems.
>
> However, I have two problems (and I guess I am doing some really 
> stupid mistake):
>
> 1) It seams that I cannot pass a include path to synopsis.  For 
> instance, I want to pass
> the include "$HOME/blas++" and want to define two macros like this:
>
> synopsis -p Cxx -I $HOME/blas++ -D HAVE_CBLAS -D WITH_ATLAS -f Dump -o 
> dump blas++/examples/test_gematrix.cc
>
> With synopsis 0.13 this works without problems.

I just realized I had a related local change that I failed to check in. 
I just committed this as revision 2045.

>
> In case it helps reproducing the problem, I uploaded a tar-ball of 
> this C++ project:
>
> http://www.mathematik.uni-ulm.de/~lehn/synopsis-test/blas++.tgz 
> <http://www.mathematik.uni-ulm.de/%7Elehn/synopsis-test/blas++.tgz>
>
> 2) I tried using the Dump formatter on a small C++ code with different 
> options, e.g.
>
> synopsis -p Cxx -f Dump -o dump main.cc
> synopsis -p Cxx -f Dump -Wf,--show_declarations -o dump main.cc
> synopsis -p Cxx -f Dump -Wf,--show_declarations,--show_types -o dump 
> main.cc
>
> (Here the sample code: 
> http://www.mathematik.uni-ulm.de/~lehn/synopsis-test/main.cc 
> <http://www.mathematik.uni-ulm.de/%7Elehn/synopsis-test/main.cc>)
>
> However, in all cases the dumped file merely contains some tags about 
> some builtin types

Thanks, I'll look at that as soon as possible.

         Stefan


-- 

       ...ich hab' noch einen Koffer in Berlin...