[gmx-users] warning: assignment makes pointer from integer without a cast
Qiao Baofu
qiaobf at gmail.com
Thu Oct 19 13:09:27 CEST 2006
Hi David,
Thanks a lot.
Now, it works.
2006/10/19, David van der Spoel <spoel at xray.bmc.uu.se>:
>
> Qiao Baofu wrote:
> > Hi all,
> >
> > I meet a problem in compiling my program under gromacs: it always give
> > the information "warning: assignment makes pointer from integer without
> > a cast". The line refers to the following line with (***). I have tried
> > opt2fn_NULL too.
> >
> > How to solve it? and can you give some introduction about the opt2fn,
> > opt2set, etc?
> >
> > Thanks in advance!
> >
> >
> > t_filenm fnm[] = {
> > { efTRX, "-f", NULL, ffREAD },
> > { efTPX, "-s", NULL, ffREAD },
> > { efNDX, "-n", NULL, ffOPTRD },
> > { efXVG, "-o", "EC", ffOPTWR }
> > };
> >
> > *** fp=xvgropen(opt2fn("-o",NFILE,fnm),title,"t","Integrand");
> >
> >
> >
> >
> > --
> > Sincerely yours,
> > **********************************************
> > Baofu Qiao, PhD
> > Frankfurt Institute for Advanced Studies
> > Max-von-Laue-Str. 1
> > 60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
> > **********************************************
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > gmx-users mailing list gmx-users at gromacs.org
> > http://www.gromacs.org/mailman/listinfo/gmx-users
> > Please don't post (un)subscribe requests to the list. Use the
> > www interface or send it to gmx-users-request at gromacs.org.
> > Can't post? Read http://www.gromacs.org/mailing_lists/users.php
> did you include xvgr.h in your program?
>
>
> --
> David.
> ________________________________________________________________________
> David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
> Dept. of Cell and Molecular Biology, Uppsala University.
> Husargatan 3, Box 596, 75124 Uppsala, Sweden
> phone: 46 18 471 4205 fax: 46 18 511 755
> spoel at xray.bmc.uu.se spoel at gromacs.org http://folding.bmc.uu.se
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> _______________________________________________
> gmx-users mailing list gmx-users at gromacs.org
> http://www.gromacs.org/mailman/listinfo/gmx-users
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/mailing_lists/users.php
>
--
Sincerely yours,
**********************************************
Baofu Qiao, PhD
Frankfurt Institute for Advanced Studies
Max-von-Laue-Str. 1
60438 Frankfurt am Main, Germany TEL:+49-69-7984-7529
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20061019/bb17cd7a/attachment.html>
More information about the gromacs.org_gmx-users
mailing list