GNOME Bugzilla – Bug 141545
patch for the Intel compiler
Last modified: 2004-12-22 21:47:04 UTC
libgnomecanvasmm/libgnomecanvasmm/property.{h,cc}: GNOMEMM_PROPERTY macro is failed to compile when T is a template class. #define GNOMEMM_PROPERTY(N,N2,T) \ class N : public Property<T> \ { \ public: \ N(const T& v); \ }; It is fixed by replacing 'Property<T>' by 'Property<T >'. ----- liggnomecanvas/src/line.hg: The Intel compiler fail to compile because of unnecessary namespace qualification.
Created attachment 27256 [details] [review] patch for the intel compiler
Thanks. Applied.
Just for our information: Does this mean that you've successfully built libsigc++-2.0 & gtkmm-2.4 with the Intel compiler? Which version do you use?
Yes, I have build using the Intel compiler version 8.0.66. But I needed to fix "libtool" created by configure script. I commented out "predep_objects" & "postdep_objects". I have just found that following 'libtool.m4' patch could work. @@ -3137,6 +3137,7 @@ icpc) # Intel C++ with_gnu_ld=yes + output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
Please make sure that you give patch the patch to the libtool maintainers. We would like a bug number or URL for that, so that we can track it. Are you doing this on Linux?
Libtool 1.5.8 support for intel C++ version 8. It works fine.