Semen Esilevsky wrote:
Dear All,
I'm trying to add the functionality of reading xtc to my own C++ code for a
long time, so I was looking forward for libxdrfile release. Finally it is
released and I tried it. I included xdrfile_xtc.h and immediately got the
following error:
/usr/local/gentop/include/xdrfile/xdrfile.h|112|error: redeclaration of C++
built-in type ‘bool’|
This error is inside "#ifdef __cplusplus" block, so I presume that it should
work with C++ compiler, but it does not...
I'm not proficient in C/C++ issues, so I have no idea what should I do to make
it work with g++ compiler.
Any help is deeply appreciated!
Please file a bug report and I will fix it a bit later.
A simple solution is also to replace all bools by int.
Regards,
Semen
_______________________________________________
gmx-users mailing list gmx-users@gromacs.org
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
--
David van der Spoel, Ph.D., Professor of Biology
Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205. Fax: +4618511755.
sp...@xray.bmc.uu.se sp...@gromacs.org http://folding.bmc.uu.se
_______________________________________________
gmx-users mailing list gmx-users@gromacs.org
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php