mail about error in namd compilation

From: Vidhya Sankar (vidhyasankar7928_at_yahoo.com)
Date: Fri Jun 01 2018 - 03:08:09 CDT

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 : Sat Dec 07 2019 - 23:19:52 CST