http://llvm.org/bugs/show_bug.cgi?id=16607
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #1 from Richard Smith <[email protected]> --- This works fine on trunk. Output: In file included from surfaceFilmModel-JNlRi1.cpp:1: surfaceFilmModel/surfaceFilmModel.C:36:4: warning: first declaration of static data member specialization of 'names' outside namespace 'Foam' is a C++11 extension [-Wc++11-extensions] >::names[] = ^ /home/gantonopoulos/OpenFOAM/OpenFOAM-2.0.0/src/OpenFOAM/lnInclude/NamedEnum.H:74:28: note: explicitly specialized declaration is here static const char* names[nEnum]; ^ In file included from surfaceFilmModel-JNlRi1.cpp:1: surfaceFilmModel/surfaceFilmModel.C:87:8: warning: binding reference member 'g_' to a temporary value [-Wdangling-field] g_(vector::zero), ^~~~~~~~~~~~ surfaceFilmModel/surfaceFilmModel.H:98:34: note: reference member declared here const dimensionedVector& g_; ^ -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
