[MITgcm-devel] macros and "()"
Jean-Michel Campin
jmc at ocean.mit.edu
Mon Jan 6 08:53:12 EST 2014
Hi Martin,
I don't think aim_initialise.F has been changed recently,
but it would be good if you can find a way to pass it through
this cpp distribution.
Cheers,
Jean-Michel
On Mon, Jan 06, 2014 at 02:35:29PM +0100, Martin Losch wrote:
> Hi there,
> I haven’t run testreport on my apple Powerbook for a while. Now the aim and streamice experiments do not compile because lines like these:
> _END_MASTER ( myThid ) (in aim_initialise.F)
> or
> _EXCH_XY_RL (H_streamice,myThid) (in streamice_advect_thickness.F)
>
> are not understood by my cpp processor:
> /usr/bin/cpp -v
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.0.0
> Thread model: posix
> "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.9.0 -E -disable-free -disable-llvm-verifier -main-file-name - -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 224.1 -v -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0 -I /usr/include -fdebug-compilation-dir /Users/mlosch/head/verification/aim.5l_Equatorial_Channel/build -ferror-limit 19 -fmessage-length 140 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime=macosx-10.9.0 -fobjc-dispatch-method=mixed -fobjc-default-synthesize-properties -fencode-extended-block-signature -fdiagnostics-show-option -fcolor-diagnostics -traditional-cpp -o - -x c -
> clang -cc1 version 5.0 based upon LLVM 3.3svn default target x86_64-apple-darwin13.0.0
>
> I am going to remove the “ “ between the end of the macro and the “(“ if that’s OK with you.
>
> Martin
>
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list