After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 141545 - patch for the Intel compiler
patch for the Intel compiler
Status: RESOLVED FIXED
Product: gnomemm
Classification: Deprecated
Component: libgnomecanvasmm
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-05-01 03:58 UTC by Takashi Takekawa
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for the intel compiler (2.65 KB, patch)
2004-05-01 04:02 UTC, Takashi Takekawa
none Details | Review

Description Takashi Takekawa 2004-05-01 03:58:08 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.
Comment 1 Takashi Takekawa 2004-05-01 04:02:18 UTC
Created attachment 27256 [details] [review]
patch for the intel compiler
Comment 2 Murray Cumming 2004-05-02 10:02:24 UTC
Thanks. Applied.
Comment 3 Martin Schulze 2004-05-03 07:39:17 UTC
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?
Comment 4 Takashi Takekawa 2004-05-04 02:57:34 UTC
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'
Comment 5 Murray Cumming 2004-05-04 08:04:51 UTC
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?
Comment 6 Takashi Takekawa 2004-10-02 23:11:51 UTC
Libtool 1.5.8 support for intel C++ version 8.
It works fine.