RE: mail about error in namd compilation

From: Vermaas, Joshua (Joshua.Vermaas_at_nrel.gov)
Date: Fri Jun 01 2018 - 11:05:15 CDT

Those are compiler warnings, not errors. The compiler is just telling you that there are some parts of the source that depend on compiler behavior that likely isn't transferrable and may at some point break. As a user, I wouldn't worry about them. They've been there for as long as I've compiled VMD/NAMD, and don't seem to result in any showstopping problems.

-Josh

On 2018-06-01 02:16:15-06:00 owner-namd-l_at_ks.uiuc.edu wrote:

Dear namd users
                             when i compile namd it show the following error while i got namd binay exe files

src/ComputeTclBC.C:378: warning: deprecated conversion from string constant to 'char*'
src/ComputeTclBC.C:384: warning: deprecated conversion from string constant to 'char*'
src/ComputeTclBC.C: In static member function 'static int ComputeTclBC::Tcl_addenergy(void*, Tcl_Interp*, int, Tcl_Obj* const*)':
src/ComputeTclBC.C:398: warning: deprecated conversion from string constant to 'char*'
src/ComputeTclBC.C:404: warning: deprecated conversion from string constant to 'char*'
g++ -m64 -O3 -I.rootdir/charm-6.4.0/mpi-linux-x86_64/include -DCMK_OPTIMIZE=1 -I

src/flipbinpdb.c: In function 'main':
src/flipbinpdb.c:30: warning: incompatible implicit declaration of built-in function 'exit'
src/flipbinpdb.c:35: warning: incompatible implicit declaration of built-in function 'exit'
src/flipbinpdb.c:40: warning: incompatible implicit declaration of built-in function 'exit'
src/flipbinpdb.c:47: warning: incompatible implicit declaration of built-in function 'exit'
src/flipbinpdb.c:53: warning: incompatible implicit declaration of built-in function 'exit'
src/flipbinpdb.c:64: warning: incompatible implicit declaration of built-in function 'exit'

How to solve the error

With regards
\S.Vidhyasankar

This archive was generated by hypermail 2.1.6 : Mon Dec 31 2018 - 23:21:09 CST