<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 9: datatype dpc missing</title><link href="https://sourceforge.net/p/gnuplotfortran/bugs/9/" rel="alternate"/><link href="https://sourceforge.net/p/gnuplotfortran/bugs/9/feed.atom" rel="self"/><id>https://sourceforge.net/p/gnuplotfortran/bugs/9/</id><updated>2011-09-06T12:01:24Z</updated><subtitle>Recent changes to 9: datatype dpc missing</subtitle><entry><title>datatype dpc missing</title><link href="https://sourceforge.net/p/gnuplotfortran/bugs/9/" rel="alternate"/><published>2011-09-06T12:01:24Z</published><updated>2011-09-06T12:01:24Z</updated><author><name>Lawrence Selvy</name><uri>https://sourceforge.net/u/kcphysics/</uri></author><id>https://sourceforge.net9fb4e63c2c55bacf73e8b56b7e5c94bcc78f2d7b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have compiled the libraries in openSUSE 11.4 using the gfortran.  Everything compiled ok.  Tried compiling your testbench and it complains that the dpc datatype is not defined.&lt;/p&gt;
&lt;p&gt;gfortran -o gnuplot_fortran95_testbench gnuplot_fortran95_testbench.f90 -lfortranposix -lgnuplotfortran&lt;br /&gt;
gnuplot_fortran95_testbench.f90:25.37:&lt;/p&gt;
&lt;p&gt;use datatypes, only : i4b,dp,dpc,lgc&lt;br /&gt;
1&lt;br /&gt;
Error: Symbol 'dpc' referenced at (1) not found in module 'datatypes'&lt;br /&gt;
gnuplot_fortran95_testbench.f90:37.19:&lt;/p&gt;
&lt;p&gt;complex(dpc), dimension(:), allocatable :: cp&lt;br /&gt;
1&lt;br /&gt;
Error: Symbol 'dpc' at (1) has no IMPLICIT type&lt;br /&gt;
gnuplot_fortran95_testbench.f90:74.17:&lt;/p&gt;
&lt;p&gt;allocate(cp(numpoints), stat=status)&lt;br /&gt;
1&lt;br /&gt;
Error: Allocate-object at (1) is not a nonprocedure pointer or an allocatable variable&lt;br /&gt;
gnuplot_fortran95_testbench.f90:92.47:&lt;/p&gt;
&lt;p&gt;cp(i)=cmplx(cos(x(i)),sin(x(i)),dpc)&lt;br /&gt;
1&lt;br /&gt;
Error: Unexpected STATEMENT FUNCTION statement at (1)&lt;br /&gt;
gnuplot_fortran95_testbench.f90:140.125:&lt;/p&gt;
&lt;p&gt;x,y1,'sin(x)',y2=y2,y2title='cos(x)',y3=y3,y3title='atan(x)',y4=y4,y4title='sqr&lt;br /&gt;
1                                                &lt;br /&gt;
Error: Unterminated character constant beginning at (1)&lt;br /&gt;
gnuplot_fortran95_testbench.f90:311.37:&lt;/p&gt;
&lt;p&gt;deallocate(x,y,y1,y2,y3,y4,cp,z1,z2,z3,z4)&lt;br /&gt;
1&lt;br /&gt;
Error: Allocate-object at (1) is not a nonprocedure pointer or an allocatable variable&lt;br /&gt;
gnuplot_fortran95_testbench.f90:198.57:&lt;/p&gt;
&lt;p&gt;status=gnuplot_plotcomplex(ptr_gctrl,numpoints,cp,'A circle ?')&lt;br /&gt;
1&lt;br /&gt;
Error: Symbol 'cp' at (1) has no IMPLICIT type&lt;/p&gt;
&lt;p&gt;The datatype.mod is attached.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>