[Users] non-portable inline problem & c++ void operator declaration problem
Hee Il Kim
heeilkim at gmail.com
Wed Dec 5 00:03:37 CST 2007
Hi all,
Recently I updated Cactus flesh and failed to make building. The two
relevant messages are attached below. It occured on the ppc64 linux system
using XL compilers. I appreciate your help in advance.
Hee Il
-- 1st one ---
"/home/hmlee/Cactus/src/include/cctk_Complex.h", line 109.1: 1506-1108 (I)
The use of keyword '__inline__' is non-portable.
"/usr/include/bits/mathinline.h", line 66.58: 1506-1197 (W) The use of ':'
in designated initializer syntax is non-portable.
-- 2nd one ---
Preprocessing
/home/hmlee/Cactus/arrangements/AEIThorns/AHFinderDirect/src/patch
/ghost_zone.cc
Compiling
/home/hmlee/Cactus/arrangements/AEIThorns/AHFinderDirect/src/patch/gho
st_zone.cc
"/home/hmlee/Cactus/configs/rns_pugh/build/AHFinderDirect/patch/ghost_zone.cc",
line 377.8: 1540-0256 (S) A parameter of type "void *" cannot be initialized
wit
h an expression of type "const AHFinderDirect::patch_interp *".
"/home/hmlee/Cactus/configs/rns_pugh/build/AHFinderDirect/patch/ghost_zone.cc",
line 377.8: 1540-1205 (I) The error occurred while converting to parameter 1
of
"operator delete(void *)".
"/usr/include/g++/new", line 96.14: 1540-1298 (I) "extern "C++" void
operator de
lete(void *, void *) throw()" needs to be declared in the containing scope
to be
found by name lookup.
"/usr/include/g++/new", line 88.6: 1540-1298 (I) "extern "C++" void operator
del
ete(void *, const nothrow_t &) throw()" needs to be declared in the
containing s
cope to be found by name lookup.
1540-1298 (I) "void operator delete(void *, const char *, unsigned long)
throw()
" needs to be declared in the containing scope to be found by name lookup.
"/home/hmlee/Cactus/configs/rns_pugh/build/AHFinderDirect/patch/ghost_zone.cc",
line 377.8: 1540-0256 (S) A parameter of type "void *" cannot be initialized
wit
h an expression of type "const AHFinderDirect::patch_interp *".
"/home/hmlee/Cactus/configs/rns_pugh/build/AHFinderDirect/patch/ghost_zone.cc",
line 377.8: 1540-1205 (I) The error occurred while converting to parameter 1
of
"operator delete(void *)".
"/usr/include/g++/new", line 96.14: 1540-1298 (I) "extern "C++" void
operator de
lete(void *, void *) throw()" needs to be declared in the containing scope
to be
found by name lookup.
"/usr/include/g++/new", line 88.6: 1540-1298 (I) "extern "C++" void operator
del
ete(void *, const nothrow_t &) throw()" needs to be declared in the
containing s
cope to be found by name lookup.
1540-1298 (I) "void operator delete(void *, const char *, unsigned long)
throw()
" needs to be declared in the containing scope to be found by name lookup.
make[3]: *** [ghost_zone.cc.o] Error 1
make[2]: *** [patch/make.checked] Error 2
make[1]: ***
[/home/hmlee/Cactus/configs/rns_pugh/lib/libthorn_AHFinderDirect.a]
Error 2
make: *** [rns_pugh] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cactuscode.org/pipermail/users/attachments/20071205/14cd0597/attachment.html
More information about the Users
mailing list