[Users] non-portable inline problem & c++ void operator declaration problem
Erik Schnetter
schnetter at cct.lsu.edu
Thu Dec 6 11:25:55 CST 2007
On Dec 5, 2007, at 00:03:37, Hee Il Kim wrote:
> 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.
This looks harmless; you can probably ignore it.
> -- 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 *".
This is probably the only real problem, as it is flagged with "(S)".
Someone may be able to help you better if you say exactly what
compiler and what system you are using. It could be that a cast to
const is missing. Jonathan Thornburg is the original author of this
code and a C++ expert; Jonathan, are you reading this?
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu>
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/users/attachments/20071206/bcbb4e69/attachment-0001.bin
More information about the Users
mailing list